Baking Powder
If your toddler leaves you a stinky treat on your carpet (Note to self: Don't practice potty training in rooms with light-colored rugs!), sprinkle the spot with baking powder, let it sit for an hour and then vacuum. The smell should be gone in no time.