Pour bleach in the hot water heater. Purge that water to all your faucets/taps and let it sit for a while to let the bleach work.