You have to first remove the water as quickly as possible. Use fans and open windows to speed up the process. Use a dehumidifier to dry out the room. Steam clean carpet and flooring, as well as sanitize walls and baseboards.