There are a few ways to clean soda out of carpet. One way is to use a vacuum cleaner with the hose attachment. Another way is to use a bucket and pour water onto the carpet and then use a plunger to suction onto the top of the soda and pull.