Hi All - I have a hot water heater that seems to have air in the lines, and I don't know if there is a leak somewhere or what is causing this, but want to correct it if needed.

Background: This is an electric HWH, about 6 years old, hooked up to city water, and I have a water softner in the house. A few days ago the HWH stopped working, so I hit the reset button and it seems to be working now, but the water comes out white, and this goes away after a few minutes. It seems to me to be air in the water, and I am trying to figure out why, or if this is a problem.