What would cause the temperature gauge not to work on your 1998 Pontiac Sunfire?

temperature gauge not working can be caused by a bad temp sensor in engine, a bad gauge in dash, or a bad fuse