What’s the Best Way to Clean Carpets?

Does anyone have a suggestion for what to use to clean carpets, after you have rented the rug doctor?