I've had a terrible heartburn last night due to excessive consumption of poutine on delivery. Usually taking some Pepto-Bismol or Maalox, taking your shirt off and walk for a while, or just relaxing in an hot shower does the trick, but other times it doesn't. There's a creative way to get rid of it though.
While walking around and waiting for the pain to go out, I decided to watch porn and stupefyingly, it basically all disappeared. The arousement that sexual imagery provokes catalyzes secretions of beta-endorphin from your pituitary gland into your blood and to your brain that have a natural analgesic effect that kills pain, thus annihilating this disagreement while your digestive system recovers.
If it becomes a frequent annoyance, you can get prescribed something called Pantoloc, a pill that you take regularly, and which should make your stomach more resilient to gastric acid overflows.