[header] How to get bad smells out of carpet [title] Treat soiled areas. [step] Before treating your carpet, remove any dried on spills, blot away wetness, and dab soap on noticeable stains. You want your carpet to be in its best state before treating the smell. 
[title] Sprinkle baking soda onto the carpet. [step] The baking soda will work to neutralize the odors that are trapped in the carpet.