Put on gloves
Remove any solid material with paper towels or a spoon
Blot up excess liquid with paper towels
Sprinkle baking soda or cornstarch over the area
Let it sit for 10 to 15 minutes
Vacuum up the powder
Mix warm water with a small amount of dish soap
Dampen a clean cloth with the solution
Blot the stain from the outside toward the center
Repeat with clean cloths until the stain lifts
Blot with plain water to rinse
Blot dry with towels
Sprinkle baking soda again if odor remains
Let it sit overnight
Vacuum the area again
Use a carpet cleaner if needed
