1. Check the fan relay: The fan relay is responsible for controlling the power supply to the fan. If the relay is faulty, it can cause the fan to run continuously. Locate the fan relay (it is usually located in the fuse box) and check if it is working properly. You can do this by swapping it with a relay of the same type from another circuit and see if the problem persists. If the fan stops running when you install the other relay, then the original relay is faulty and needs to be replaced.
2. Check the fan switch: The fan switch is responsible for turning the fan on and off. If the switch is faulty, it can cause the fan to run continuously. Check the fan switch to make sure it is working properly. You can do this by turning the switch on and off and see if the fan responds accordingly. If the fan does not turn off when you turn the switch off, then the switch is faulty and needs to be replaced.
3. Check the fan motor: If the fan relay and fan switch are both working properly, then the problem may be with the fan motor itself. Check the fan motor to make sure it is not seized or damaged. You can do this by trying to turn the fan blades manually. If the fan blades do not turn freely, then the motor is faulty and needs to be replaced.
4. Check the wiring: If all of the above components are working properly, then the problem may be with the wiring. Check the wiring to the fan, fan relay, and fan switch to make sure there are no loose connections or damaged wires. Repair or replace any damaged wiring as necessary.