Baking soda can help clean up dog poop on a carpet, but only after you've used other cleaners to fully remove the mess and disinfect the area. After using a cleaning solution, put baking soda on the area and let it dry to get rid of smells and make sure it is clean.