Medicines that reduce the amount of acid in the stomach can relieve symptoms and promote healing of the stomach lining. These medicines are available over-the-counter and with a prescription.