There are several over-the-counter (OTC) medications available for heartburn and acid reflux. The most commonly used OTC medications are antacids, H2 blockers, and proton pump inhibitors (PPIs).