Shut off the main water supply by turning off the main stop tap, which is usually either in the area where the main service pipe connects to the home or under the kitchen sink. It is best to ensure that everyone in your family knows where the main stopcock is located and how to turn it off in case of a burst pipe emergency.
Let the pipe drain out the water by turning on all cold taps. Switch off the water heating system and then turn on all hot taps to help in draining the water supply system. Also, flush all toilets. All leaks should stop once there is no more water running from the taps.