1. Shut off the main water valve
Most homes in the area have the main shut-off in the basement where the water line comes through the foundation wall, next to the meter. Turn the handle clockwise (a lever goes perpendicular to the pipe). If you cannot find it, the curb valve at the street is for the water department or a plumber.
2. Make the area safe
Water and electricity do not mix. If water is reaching outlets, appliances or the panel, stay out of the water and turn off the breaker only if you can stand somewhere dry.
3. Drain the lines
Open the cold taps on the lowest floor to let remaining water out of the pipes. Flush toilets once.
4. Document the damage
Take photos and video before you clean up. Your homeowner's insurance will ask for them.
5. Call a licensed plumber
Describe what burst, where, and whether the water is off. In Massachusetts the repair must be done by a licensed plumber.
This guide is general information, not professional advice. For gas smells call 911. Plumbing repairs in Massachusetts must be done by a licensed plumber.