it seems to be due to gastritis
problem.you can take antacid
like pantop40 mg every morning before food. can you please mention the endocrine disorder you have.maintain a good life style. take regular small and frequent meals. drink alot of water. take more fruits. take regular sleep and avoid stress
.do regular excercise.if you still not relieved better consult a physician and get evaluated.