A tankless water heater gives you hot water on demand, which is why people love them. When something starts going wrong, it usually tells you. A code flashing on the controller, or hot water that turns cold halfway through a shower. Those warnings tend to show up well before the unit actually quits.
In San Diego, hard water is a big part of that story. Minerals build up as scale inside the heat exchanger, the part that actually heats your water. As the scale builds, the unit works harder and starts throwing codes. Sometimes a descaling and a part gets it back where it should be. Sometimes the unit has had its run.
Either way, we'll get someone out to look at the unit and give you a straight answer on whether it's a repair or a replacement. If replacing makes more sense, you'll hear your options, sized to how your household actually uses hot water. The decision stays yours, made with the facts in front of you.