The right way on how to clean rugs
First, vacuum the rug on front and back to remove surface dirt and debris. Use the brush attachment to remove pet hair. Take the rug outside and lay flat on a waterproof surface. A driveway or patio is perfect.
Before you proceed on cleaning any area rug, make sure you check the manufacturers maintenance recommendations. All manufacturers will have different ways to maintain area rugs.