To determine the source of the problem, you can perform a simple test by disconnecting the wire connection from the sender unit and observing the fuel gauge reading. If the gauge still shows a full tank, the issue is likely with the gauge itself. If the gauge reads empty or moves, the problem may be with the sender unit.