1. Remove any solid residue with a blunt, flat object, such as a dull knife.
2. Blot fresh stains with a clean white cloth. After absorbing as much moisture as possible, apply a DIY solution of one-quarter teaspoon clear dishwashing liquid mixed with one cup of tepid water. Blot with another clean, dry towel. Rinse by blotting with a towel dampened with tepid water. Continue alternating with a soapy towel and a clean, damp towel until the stain is gone. For stale stains, skip the blotting and move directly to the next step.
3. If the stain lingers, you may have to bring in the big guns. Apply an enzymatic product designed specifically for pet stains, such as Nature’s Miracle. The enzymes break down stains effectively and remove odors that might be undetectable to you but can attract your pet to the same area. If odor persists, call a professional carpet cleaner to treat the carpet. (In extreme cases, the carpet and padding underneath -- and sometimes even the subfloor -- will need to be replaced.
Watch this video for more everyday stain-removal tips.