Do you live in an area where it routinely freezes overnight? Have you been lucky enough so far to avoid having your pipes burst? Even if it hasn't happened yet, you should never assume that it won't happen. While precautions are good, they don't completely guarantee that a pipe won't burst or start to leak in the future. Before that happens, it's important to know what you should do:
Shut off the electricity: The water flooding your home is obviously the issue and does need to be shut off as soon as possible. But the electrical panel for many homes is on the way outside to the water mains, so you might as well take care of that on your way out. Until you know how bad the leak is and what's been damaged, shut off the electricity to your home. If you leave the electricity on while waiting for the emergency plumbing service to arrive, you risk having an electrical fire start. You've already got at least one flooded room to contend with, you don't want to compound the problem by having a fire start as well.
Shut off the gas: If your home has a gas water heater or a gas furnace, a flood of water can put out the pilot light and cause a potential explosion or fire hazard. Until you can be sure that your gas appliances haven't been affected, shut off the gas at the main outside. Only once the emergency plumbing service has arrived and you've started the cleanup effort can it be properly determined whether or not it's safe to turn the gas back on. Some emergency plumbers are able to install or repair gas lines, so the one that arrives may be able to check out your gas appliances and help you relight the pilot lights if necessary.
Call an electrician: After you've called your local emergency plumbing service, call for an electrician to come out and check over the affected area. Don't rely on your plumber to tell you whether or not it's safe to turn the electricity back on. Even the best plumber around may not know enough about electrical wiring to be able to tell you whether or not something is safe. It's definitely better to pay for the additional service call when it turns out to not be necessary than not calling when necessary and risking starting a fire when you turn the water back on.
For more information, contact a business such as Roto-Rooter Sewer & Drain Cleaning Service.