Alkomag is used to treat symptoms of heartburn, which is heartburn caused by stomach acids refluxing into the esophagus. It is an antacid drug. Alkomag is used to treat symptoms of high stomach acid, such as stomach pain, heartburn, and acid indigestion. Antacids neutralize stomach acid, but they do not prevent acid production.