It works as an acid reducer to treat frequent heartburn. Do not use if you have: trouble or pain swallowing food, vomiting with blood, or bloody or black stools; heartburn with lightheadedness, sweating or dizziness; chest pain or shoulder pain with shortness of...