Heartburn that will not go away needs medical attention because it may be a symptom of gastroesophageal reflux disease (GERD), pill or medication induced esophagitis, Barrett???s esophagus, cancer of the esophagus, ulcers or other gastrointestinal problems.