First - check/clean the contacts on the rear of the instrument panel. The fuel gauge traces and connections are less prone to oxidation than the other circuits, but it's still the first thing to check.
If that doesn't help, drop the tank and burnish the sender as indicated above.