Is cold water still running?
Answer that before anything else. If the cold tap is dry, the fault is upstream: the pump, the storage tank, the breaker or the line. A water heater cannot stop cold water, and treating it as one wastes the first hour.
Isolate the tank
Close the cold inlet. Where a pump feeds the property and the valve sits out of reach, cut the pump at its switch.
Kill the heat
Gas or propane cock at the appliance; the breaker for an electric unit. Leave it to fire and the tank will be ruined as well as empty.
Follow the water back
At the tank foot with rust, the vessel has gone. At a union, a fitting. At the drain, a part. From the relief pipe, pressure or a worn valve. Under the building, the pipework rather than the heater.
After a hard freeze
Canyon frost opens seams. The leak shows at the thaw, so warm the area slowly and never with a flame. A cracked tank or exchanger is not repairable.
Smell gas?
Out of the building, no switches, and telephone from outside.
Cold water, no hot
That is ordinary work for the repair page. A split vessel goes to replacement.