What does the gauge read when the ignition is off? Most
fuel guages are designed to 'fail safe' meaning if there is a problem they read empty, not full. If the gauge reads empty when off, and full when on, it probably is working fine.
The gauge worked on my first boat for 1 year, then stopped. I never bothered to try and fix it. The diesel was so efficient, and I motored so little that I just filled it half way through the season (July) and then again before haul out.
My new boat has a working gauge, but it's the same basic thing. I have 1/2 a tank now, so I'll fill it soon, and then again at the end of the year.
Barry