If a pipe has burst, do this first
Shut the main off. In a house it is normally on the front basement wall where the water service comes through the foundation, within a metre of the meter. Turn it clockwise until it stops. If it will not budge, do not put a wrench on it and lean on it, because an old gate valve that snaps off makes a bad situation considerably worse.
Then open the lowest tap in the building, usually a basement laundry tub or utility sink, and open one on the top floor as well. That drains standing water out of the piping and takes the pressure off the split so it stops feeding the leak. Water will keep running out of the break for a minute or two while the lines empty. That is normal.
If water has reached light fixtures, outlets or anything else electrical, shut those circuits off at the panel before going near the wet area. If you cannot reach the panel safely, leave it and call an electrician or the utility. Photograph the damage before cleanup starts, because that is the first thing an insurer asks for.
- Close the main shut-off valve, gently
- Open the lowest tap in the building and one on the top floor to drain the lines
- Cut power at the panel to any circuit serving a soaked area
- Move what you can out of the water and lift anything sitting on wet flooring
- Take photos before anyone starts cleaning up
- Call, rather than waiting on a web form