Most calls resolve into one of a handful of decisions: whether a leak is repairable, whether the unit is worth keeping, why there is no hot water, and what the rules are where you live. The answers below are the short versions. Each links to the service page that covers the detail.
Leaks and repairs
Water at the base of a heater does not automatically mean the tank has failed. Flex connectors, the temperature-and-pressure relief valve, the drain valve and the pipe unions are all common sources, and all are repairable. A tank body that has rusted through is not: no seal holds on thinned steel under pressure.
Repair or replace
The decision usually turns on three things — the age of the unit, whether the fault is a single repairable part, and whether repairs are becoming a pattern. Under about eight years old with one failed part, repair is normally the better value. Past ten years, or with a leaking tank, replacement is the realistic answer. The replacement service page sets out what a swap involves.
No hot water
On gas, the fault is usually in the ignition chain: pilot, thermocouple, igniter or gas control valve. On electric, it is a breaker, an element, a thermostat or the high-limit switch. On tankless, an error code plus reduced flow points at scale or a sensor. The gas, electric and tankless pages each explain the checks.
Noise and water quality
Popping and rumbling come from sediment on the tank base. Rusty hot water usually means the anode rod has been consumed and the tank interior is corroding. Both are maintenance findings, and both are cheaper to deal with before the tank fails.
Rules and permits
Permits are set by the jurisdiction the property sits in, not by the heater. California's strapping requirement applies statewide. The California strapping guide covers the code side, and each location page names the building department that applies there.
What to do first
If water is running, close the supply valve above the heater. If you smell gas, leave and call your utility from outside. Otherwise, note the fuel type, the age and where the problem shows — that is the information the call needs.