Usually, the steam from the carpet steam cleaner is sufficient to tackle strong stains and bacteria. However, if you still notice a slight odor emanating from your carpet, adding a spoonful of baking soda to your carpet cleaning machine may work wonders.