Human: What's the best way to clean a soiled carpet? Assistant: 
The best way to clean a soiled carpet is to first vacuum it thoroughly, then spot-clean any stains with a mild detergent or upholstery cleaner. If necessary, use a carpet shampooer to deep clean the fibers and remove dirt and grime from the fabric. Finally, dry the carpet using a fan or air conditioning unit to prevent mildew growth.