Had a shower yesterday with no problem, and this morning the hot water tap had little to no pressure and no hot water. We turned the lever on the hot water tank on and off, and also on the main water system. We now have hot water. What happened and how can I fix this problem before it happens again.