Having bubble gum stuck on any surface is surely quite unpleasant and the removal process is usually unnerving and time consuming.
Firstly, you can try to cool the bubble gum to the point you could scrub it off. You could also warm it, so it would melt. For option number one, use an ice cube to rub it with. For option number two, use a heated iron at low temperature and a rice paper – place the paper on the gum and iron until the gum is stuck on the paper.
If there is any stain left, apply a small amount of peanut butter or a tea tree oil on the spot to remove it and then wash as usual.
In every case, always read the manufacturer instructions if there are any, before you do anything. Then proceed with a small test patch. If any doubt, consult a professional cleaner.