First, try to stop the water at its source. Locate the shut-off valve and close it. This should stop any further flooding from occurring.
2. Turn off electricity if the water is at risk of exposure to electrical wiring, outlets or appliances.
3. Contact a plumber and request an emergency repair.