Moisture is the worst enemy to any flooring material. Here are a few precautions to consider:
Put weather protection sealant around basement windows and the base of ground-level doors.
Install the drainage for downspouts a sufficient distance from your residence to ensure that water moves away from the building.
Consider installing a sump pump and zero reverse flow valves in basement floor drains.
Even if you have not experienced visible flooding, ground moisture including that that occurs from extreme humidity can reach your flooring especially if you have a crawl space under your house or place of business. Be on the look-out for signs of dampness, particularly around baseboards.
CHECK YOUR CARPET PAD If your carpet pad is a spongy type that has absorbed a lot of water it will be best to remove the pad and replace it. Carpet pad is inexpensive. Also, the carpet pad may be very heavy to carry if it is full of water and you will need to cut it in small manageable pieces.
BEWARE OF HEALTH RISKS
Wet carpet can mold and cause health problems. If you think that your carpet has mold then remove it and replace with new carpet. Cleaning your carpets with a vinegar and water solution can help prevent mold and mildew from growing.