Untreated or severe heartburn can lead to complications such as esophagitis, Barrett's esophagus, and even an increased risk of esophageal cancer.