What happens next?

How to detect mold in carpet 
Smell your carpet to see if it has a musty odor. 
Mold has a distinct, off-putting smell. If your carpet smells bad, it may be a sign that it has mold in it.
Keep in mind there are other reasons your carpet may smell bad. Look for other signs of mold before you take action.