Spray your carpet with a mist of 50 percent water and 50 percent white vinegar to remove pet odors. First test the carpet to make sure the vinegar won’t bleach the fabric.