The first thing you should do is contact a water damage remediation company. You do not want to delay, since mold begins to form after twelve hours. The longer water sits, the more opportunity it has to wreak havoc on wood, walls and carpet. You will also want to contact your insurance company to begin the claim process, avoid the affected area whenever possible. If there is standing water in an area with electrical appliances, do not enter the room under any circumstances.