You can remove chewing gum from carpet by freezing the gum with ice, scraping it off, and then blotting away any remaining gum with a solvent or citrus-based cleaner.