For a few spots of gum, use a Gum Getter, Gel Break or Gum Gel. For large amounts of gum, use Gum Blaster if you have a Truckmount which generates heat over 170ºF. The hotter, the better. In both cases, you need to determine what agitation the carpet fiber can endure without damage.
View the guide