Hi,
Welcome to health care magic,
Abdominal pain with burning or acidity in stomach could be mostly because of
acute gastritis.
The causes of gastritis are helicobactor pylori infection,oily and spicy diet,or drug induced.
You should go for routine blood count,ESR,urinalysis with ultrasound abdomen with upper GI endoscopy to rule out other gastric pathology and to confirm
gastric inflammation.
You may require h2 blockers like ranitidine or proton pump inhibitors like
pantoprazole or
rabeprazole etc with ulceroprotective drugs like sucralfate,misoprostol etc.
You can take all these medicines before half an hour of taking break fast or meal.
You can continue your heart medications as prescribed by your cardiologist.
If underlying cause is H pylori then you will require triple drug regimen means two antibiotics and PPI.
Consult your gastroenterologist for further advice.
Regards,