If the fan doesn't turn on at a certain temperature then the thermostat switch is bad.
for example, the fan should turn on when the gauge is about half point, if it does this sometimes and not the other then the switch is the problem and should be replaced asap.
other things to consider: there should be no air in the cooling system, it can put off the gauge as well as the thermostat switch.