Heartburn and acid reflux go hand in hand. Symptoms of heartburn, including a painful feeling behind your breastbone and sometimes a sour taste in your mouth, occur when acid from your stomach enters the esophagus.