If you wind up with a bad case of heartburn anyway, treatment can include taking over-the-counter antacids or prescription medications such as proton pump inhibitors and H2 blockers, which lower acid ...