My father was a pressure vessel (boiler and water heater) inspector for an insurance company. I'm not claiming that anything I learned, or failed to learn, from him is accurate for your situation. His experience has me checking, by exercising, the pressure relief valve every 6 months. Also, flush once a year, and at the same time inspect the sacrificial anode and replace if necessary. Removing the anode helps the flushing process anyway, so might as well. Current water heater is 10 years old and I expect another 10 years at least. Previous water heater was 25 years old when it finally quit. Gas, 50-gallon tanks.