A water heater leak is not one problem. Where the water starts decides whether it is a ten-minute fitting swap or the end of the tank.
By position
Base of the tank, weeping at the seam. A pressure vessel that has started to give at its own joint is finished. Sealing it does not hold, and the seep grows. That is a replacement, and the supply should be closed rather than the floor dried twice a day.
A threaded fitting or the top connections. Repairable. Corrosion at the joint, a failed nipple or a loose union is plumbing work, not a new heater.
The relief valve or its discharge pipe. The valve opens when pressure or temperature goes too high. A valve that weeps needs replacing, and the reason it is opening — pressure, a failed expansion tank, a thermostat — needs checking. Capping it is not a fix.
The drain valve. Common on older tanks, and usually repairable.
Under the unit, but not from it. Condensation, a nearby pipe, or a pan that has been holding water for a while. Worth ruling out before assuming the tank.
What to do while you wait
Close the valve feeding the tank while the water is still running, and kill the fuel or the breaker at the unit if you can get to it without reaching through water. Clear the floor around the heater. Water sitting against trim, subfloor or a panel for an afternoon does damage that drying will not undo.
Repair or replace
Anything screwed on or piped to the tank can be worked on. The vessel itself cannot. And on a unit that is already old, the puddle is a fair moment to weigh whether another repair is money well spent — an argument about the heater's condition, not about this one leak. For a puddle that turns out to be the shell, water heater leaking from the bottom walks through the check that separates a fitting from the tank.