Hello! Thanks for putting your query in HCM. I am a Gastroenterologist (DM).
I think you are suffering from acid peptic disease
You should take a proton pump inhibitor like rabeprazole
alog with a prokinetic agent like domperidone
and for constipation take laxative like sodium picosulphate
I hope I have answered your query and this will help you. Remain in touch and get-well soon.