Check the backing of the carpet. If the backing of the carpet is covered with a wide splotch of mold, you may need to replace the carpet. If you're unsure, consider hiring a professional to help you clean the carpet.