Hi There, what device are you referring to? You can follow these steps to turn off the WiFI:
Go to Settings > Wi-Fi and turn off Wi-Fi.
If you are still unable to turn off Wi-Fi, restart your phone.
If after restarting your phone the problem persists, please take your phone to an authorized Huawei service center to check the phone hardware. (NS)