Thanks for contacting healthcare magic.
You have problem of
constipation with
heartburn that may be because of
gastroesophageal reflux disease.
More acidic or citrus food may aggravate a condition.
More fatty food and oily food consuption cause stomach bloting problem.
More alcohol drinking and
smoking may cause this type of problems.
If you have this problem long duration than do a abdominal utrasonography.
Endoscope for further diagnosis.
Take high fiber diet and drink more water.
Avoid
stress.
Avoid too oily and fatty foods.
Take small amount of food and chew properly.
Avoid spicy foods and alcohol drinking.
Elevate your head during sleeping.
Avoid Immeadiat sleeping after taking meal.
After taking this much care still symptoms are present than consent a gastroenterologist for further diagnosis.
I hope my guidance is helpful to you.
Take care.
Thanks.