A failure here tends to be either water escaping or water not arriving, and the first minutes are about limiting damage rather than identifying the part.
Cut the inflow
Close the valve where the cold supply meets the tank. Inflow stops, and whatever is inside drains through the break. On a well, the pump keeps pushing until that valve is shut, so it comes before anything else.
Cut the heat
The gas or propane valve at the appliance, or the breaker. An element or burner running while the tank empties can ruin it.
Frozen lines
A split that opens after a thaw is common in winter. Gentle heat, never a flame, and keep water away from outlets. If the split is in the tank or the exchanger, the unit is done.
Propane
A propane smell means leaving the building and calling the supplier or emergency services from outside. Switches stay untouched.
When nothing arrives
Cold water at the tap means the heater. No water at all means the well, the pressure tank, the pump or the haul. That is a supply call, and a heater repair will not touch it.
What can be scheduled
No hot water with the supply working, a slow weep, a burner that needs cleaning and a unit that will not light. Those are repairs on the repair page. Where the tank has failed, replacement covers the swap and inspection.