Instead, use a carpet shampoo that is specifically designed for cleaning carpets. These shampoos are typically mild and will not damage the carpet fibers. You should also vacuum the carpet thoroughly before and after shampooing to remove any loose dirt and debris.