Alternating between the two methods is the best approach, as each has its own benefits and limitations. Carpet shampoo can remove certain types of soil better than a steam cleaner, and vice versa. By doing one method every few months, and the other the next, you can keep your carpet cleaner than if you relied on one method alone.