Sounds like you have to replace your thermostats on the water heater.

Im not recommending you do bu this is how I troubleshoot water heaters.

If your water heater has stopped heating, begin...