To repair the fuel gauge on a Kubota ZD28F mower, first, check the wiring connections to ensure they are secure and free from corrosion. Next, inspect the fuel sender unit located in the tank; if it's faulty, it may need to be replaced. If the gauge itself is malfunctioning, consider replacing it as well. Always refer to the owner's manual for specific instructions and safety precautions while performing repairs.