You must have felt your carpet getting wet from spilled water or even from a mushroom. This will greatly affect the quality of the carpet, especially if the carpet you have is a thick hairy carpet. So if that happens you can visit to get the cleanup in a perfect way.

If your carpet is wet, then you should dry it immediately before there is a mushroom growing there.
If the carpet is dry, sprinkle baking soda all over the surface, the more the better. Then, leave it for the night. Baking soda serves to inhibit the growth of mold and mildew on the carpet is wet or damp. As you know, mold and mildew will certainly harm your family’s health if not prevented from growing on your carpet. In addition, their presence can also damage the carpet permanently. After all, night, vacuum the carpet clean.

The way you should immediately do so there is no growth of fungus on the carpet.