Most of the time, these problems go away in a few hours, but sometimes it can take up to a few days for things to get back to normal. In short-term situations like this, it's best not to use any hot water at all, if you can help it, so that the dirty water doesn't flow into your water heater.