A wet floor is a question, not a verdict
Water at the base of a heater has several possible origins, and the difference decides whether you are paying for a valve or a tank.
The relief valve. If water is coming out of the valve body or its discharge pipe, the tank is releasing pressure. That can be a failed valve, an expansion tank that has lost its charge, or a pressure regulator problem on the supply. It is a repairable fault, but it is also a warning that the system has nowhere else to put the pressure.
The drain valve. A hose connection that weeps, or a plastic drain valve that has cracked, produces water right at the base — where a shell failure also shows. It is one of the cheaper fixes in the trade.
The nipples and connections. A corroded dielectric nipple or a loose union drips down the side of the tank and pools underneath, which is why the top of the unit gets checked before the bottom is blamed.
The shell. A seam that has split or a base that has rusted through produces water that does not stop when the inlet is closed, and often a stain spreading across the pan. This is the one that ends the unit's life.
What to do while it is leaking
Close the cold inlet valve on top of the heater. On a gas unit, turn the gas valve at the heater to off; on an electric unit, switch the breaker off. Do not cap or plug the relief valve to stop a drip, and do not run the heater with water in the burner area or a submerged element.
Then call. Knowing which of the four sources it is changes the job, and describing where the water appears — the valve outlet, the base seam, the top connections — shortens the diagnosis considerably.
Repair now, replace later
A valve or fitting repair keeps the tank in service. When the shell has failed, the conversation moves to replacement, and the useful information is the unit's age, size and location. Draining the old tank is part of that job, not a separate one.
Related reading
Water heater leaking from the base walks through the four possible sources and which one means the tank is finished.