Walk up to the tank on a quiet morning with the cold supply valve in view. You are not here to fix anything yet. You are here to learn what the tank needs from you.
What the tank collects
Water leaves minerals behind. Over time they settle on the bottom of the tank, where the burner or element heats the water. A layer of sediment makes the tank work harder, runs hot in spots, and can cause popping or rumbling as steam forms under the crust. Flushing removes what has settled.
Flushing the tank
Turn off the power or gas at the unit first. Close the cold supply valve, attach a hose to the drain valve at the bottom, and run the hose to a floor drain or an outdoor spot that can take hot water. Open a hot tap elsewhere in the house so air can enter, then open the drain valve. Let the water run until it is clear. Close the drain, open the cold supply to refill the tank, and keep a hot tap open until the air clears from the line. Only then restore power or gas.
Drain valves on older tanks sometimes weep or will not seal after they are opened. If that happens, note it in your file and ask a licensed plumber to look at it before the next flush.
The anode rod
Many tanks have a metal anode rod threaded into the top. The rod corrodes so the steel tank does not have to. Check it on a schedule that suits your water. If the rod is mostly bare core wire or badly pitted, it is near the end of its job. Replacing it takes a plumber's time and sometimes extra ceiling or floor clearance above the tank, so plan for that before you need it. Ask the plumber to show you the rod when it comes out, so you know what to look for next time.
The relief valve
The temperature and pressure relief valve is a safety part. Lift the lever briefly with a bucket under the discharge pipe, and let it snap shut. Water should run and then stop. If it keeps dripping after you release it, or does not move at all, treat that as a call to a licensed plumber. Do not plug or cap the discharge pipe.
Keep a record
Write down the install year, each flush date, the anode check, and each relief valve test. The record shows whether the tank is being cared for, and it gives you a planning date instead of a guess. Your install year is the starting point for that planning.