Another option is to hire a professional carpet cleaning company that uses steam or chemical cleaning equipment. Chemical cleaning uses a liquid that encapsulates the dirt into crystals, which are vacuumed away, allowing the carpet to be walked upon …
Source: How to Clean Carpet: From Vacuuming to Steam Cleaning