Please check the relays. There are 2 relays related to the fan. One is for direct fan (activated by thermostatic switch) and the other is for air-conditioning system. You can find both relays around the battery area (Most likely near the brake master pump).
You can check for burn or loose connections. Hope this helps.