I have had very good luck getting stains out of carpet using a paste of baking soda, peroxide and dawn dish liquid, test the carpet in a inconspicuous place first for color fastness , I have also had great success just using tide, the trick is to make sure it is all rinsed out very well. good luck.