The sender in the tank or the gauge itself ? If you need the gauge I have one I`ll let go for cheap .
Yup, if it's just not working or not working right it could be the gauge, or the dash voltage regulator, or the sender. Or any of the wiring in between.