I started to develop an ulcer, so my naturopath put me on digestive enzymes.
Digestion of many,if not most medications may cause exccesive acid in the stomach , and sometimes that is accopamied by pain.
Iif this continues there may be other medications you doctor can prescribe to alievate this or at the least to check for other problems
good luck with your tx..
Will