It works by reducing the amount of acid your stomach secretes, thus reducing heartburn and esophageal reflux