Heartburn may be a symptom of gastritis. It is suggested that traditional Chinese medicine can be used, with better effect, and attention should be paid to diet. Too greasy, and sweets can't be eaten, which will contribute to sour taste. Don't eat spicy or irritating food. Don't eat acidic food. You can bring some vegetables, soda cookies and the like.
Note: heartburn is that gastric acid is eroding the stomach wall. Go to treatment, there are good medicines (Chinese patent medicines) now. Left unchecked, it is very serious and terrible.