Remove the cable that connects the negative terminal of the battery.
Take out any screws or bolts securing the gauge in its current position.
Take care to remove the gauge, and then detach the wires attached to the back.
Put a replacement gauge in place and make sure the wires are properly connected to it.
Replace the screws or bolts that were previously used to secure the gauge in place.