Based upon the possibilities below, it can also be a fan relay, if you have one. There should be a way to test the sensor. If it is outputting the signal to trigger the relay, then the relay is probably bad. It's always to good to test before replacing.
If the Fan does not Come On at All
What is the problem if my radiator fan wont come on?
If you notice the fan does not turn on at all, it may be caused by a number of problems but here are the most likely 3 reasons.
The temperature sensor is bad. Generally located by the thermostat housing, this should be the first thing to check and replace since it is easy and inexpensive.
The fan relay may have failed. If the fan relay is stuck open, the fan will never turn on even if the sensor signals that it should. Replace the fan relay.
The fan motor may be bad. This can be tested by unplugging the fan and directly connecting a power source to it.