I have dry heaves in the morning.
Try fasting for a day; do not take any solid food. Fasting gives a healing rest to digestive system.
If wanted to eat, eat small meals slowly. Start with bland foods such as boiled rice, soup.
Drink 1 cup of sweet fresh pineapple juice with a pinch of ginger, a pinch of black pepper, and 1/2 teaspoon organic sugar, thrice a day.
For more details see below link: