Hot water problems fall into two groups: a unit that can still be repaired and one that has reached the end of its life. Before recommending anything, the technician will look at the tank’s age, the fuel type, the flue or vent run, and whether the water is heated by gas, electricity, or the sun.
Several things set the scope of the job. Tank and tankless models are built very differently, and a tankless swap often needs larger gas piping or a dedicated electrical circuit. Storage tanks in California are also strapped to the wall for earthquake safety, and an expansion tank is common where a pressure regulator is installed. Coastal homes may have venting details that differ from inland ones. Permits and inspections are handled at the city or county level, so ask who files them and how that affects the timeline.
A tank that runs out of hot water faster than it used to is often loaded with sediment, and a flush can sometimes buy a few more years. When replacing, ask how long the new unit should last and whether your household would be better served by a larger tank or a tankless model. Units tucked into a closet, garage, or attic are harder to swap, so mention the location and the width of the opening. If your home uses solar thermal or a heat pump water heater, say so, since those systems have their own parts and controls.