In the case of an emergency, immediately shutoff the water supply valve. Contact a water damage restoration company to help extract and contain the damages. Water or contaminated water should not sit and be allowed to damage the dry wall, floor and other building materials. After extraction, a proper dry down must be performed to avoid mold.