Here are a few tips to help you plan ahead before a leak springs up in your house.