It is Used to treat certain stomach and esophagus problems (such as acid reflux, ulcers). It works by decreasing the amount of acid your stomach makes. It relieves symptoms such as heartburn, difficulty swallowing, and persistent cough.
It can cause Diarrhea, abdominal pain, or headache may occur. Tell your doctor right away if you have any serious side effects, including: symptoms of a low magnesium blood level (such as unusually fast/slow/irregular heartbeat, persistent muscle spasms, seizures), signs of lupus (such as rash on nose and cheeks, new or worsening joint pain).