Most desert emergencies are either water escaping or water not arriving, and the difference decides who to call.
If water is escaping
Shut the valve on the cold line feeding the unit. The inflow stops and the puddle stops spreading, while what is left in the tank drains out through the split. Clear the floor around it, then cut the power or the fuel.
Then cut the energy: the gas or propane valve at the appliance, or the breaker for an electric unit. A heater running while empty can be destroyed, turning a repair into a replacement.
If nothing is arriving
Cold water at the tap but no hot water means the heater. No water anywhere means the supply, which on a well property means the pump, the pressure tank or the breaker. That is a different call, and it is worth saying so at the start.
Freeze damage
A split fitting, a split supply line or a cracked exchanger after a cold night often reveals itself once the ice thaws and water starts moving. Gentle heat, never a flame, and keep water away from outlets and panels. If the split is in the tank or the exchanger, the unit is finished.
Propane safety
Propane carries a smell added for precisely this reason. Leave, do not touch a switch, and call the supplier or 911 from outside. Because the gas sinks, a crawl space or basement is the worst place to go looking for it.
What can wait for daylight
Hot water that has stopped while cold water still runs, a drip with a container under it, a dirty burner, and an appliance that refuses to light. Those are scheduled repairs, described on the repair page. Once the tank itself has failed, the replacement page covers the swap and the county permit.