Generally when the gauge pins that means the sender wire is shorted to ground somewhere. disconnect the wire at the gauge and see if it returns to zero with the key on. If it does, find where the wire melted/wore through the insulation and fix it.
If the guage still doesn't return all the way with the sensor wire disconnected, then you need a new guage.