Treatment can include taking over-the-counter antacids like Tums, or prescriptions such as proton pump inhibitors and H2 blockers like famotidine, which can reduce some of the acid in the stomach.