It's probably "not getting a good connection..." - you may have answered your own question. The temp gauge sender is located right near the thermostat, and has a single wire connection. That wire can come loose - with the car running and warm, wiggle it and have somebody watch the gauge. If that doesn't change it, it's probably the sender itself. Cheap, maybe $15 to replace.