prevent mold in carpet

https://blast-wiki.win/index.php/How_to_Identify_Mold_Under_Carpet_Before_It_Spreads

To prevent mold in carpet, make sure your home's humidity stays below 50%, especially in basements and bathrooms. Immediately blot up spills with a clean, dry cloth, then dry the area thoroughly with fans. Steam cleaning every six to twelve months helps, but avoid over-wetting the fibers. For persistent moisture, use a dehumidifier. If you notice a musty smell, sprinkle baking soda over the carpet, let it sit for a few hours, then vacuum it up to absorb dampness before mold takes hold.