Could be the gauge or the sender
Make sure your getting 12V at the gauge when key is ON.
Check for a good ground from the gauge using an ohm meter to ground
If those check good, remove the sender and place in a pan of water on the stove with an ohm meter connected to it, and a water temp probe in the water
Should read 240 ohms cold and 33 ohms above 210 degrees