There should be magnesium rods inside to prevent scaling. If the corrosion is finished, you should replace it with a new one in time. If the water quality of your local tap water is good and will not produce scale, there is no need to replace it.
After removing the drain nut to drain water, add some water to the temporarily installed water tank, and then drain water. Repeat several times until the discharged water becomes clean.