Find the source, not the puddle
A leak under a heater in Sleepy Valley says nothing about which part failed. The candidates are the relief valve, the drain valve, the top connections and the tank shell, and only the last one ends the unit's life.
Water from the relief valve or its pipe means pressure is escaping — a failed valve, a waterlogged expansion tank or high supply pressure. Water at the drain valve is usually a cracked body or a hose connection. Water that appears at the base often started at a corroded nipple or loose union above and ran down.
The order that matters
Close the inlet, shut the fuel, then check the cheap sources first: valve, discharge, drain, fittings, pan and drain. Three of the four possible causes are minor repairs, and finding them before the shell is condemned is the difference between a service call and a replacement.
When the tank has gone
Water through steel does not stop when the inlet is closed. At that point the job becomes draining, removal and a correctly sized replacement — with strapping and venting done at the same time.