The two pipes going into the heater should be marked with either Hot and Cold or a H and C. There should be a shut off valve on the cold side, but sometimes there is one on both sides. If the piping...
Assuming you are talking about a home water heater, there is a pressure relief valve above the hot water line - usually on a tee or an ell above where the hot water line comes out of the heater and...