Antacids are medicines that neutralize stomach acid. They are used to relieve symptoms of acid reflux, heartburn, and gastroesophageal reflux disease (GERD). They are available over the counter and come in many forms, including tablets, liquids, or capsules. Common ingredients in antacids include aluminum hydroxide, calcium carbonate, magnesium hydroxide, and sodium bicarbonate.