Thank for asking to HCM
This is may not be side effects of the drugs that you are taking, at the most you can stop the Diclofenac
this could some time induces the gastritis
, and the symptoms that you have described here related with that, instead of taking "Pantoprazole" better to start "Omeprazole
40 mg once in day" this could give good result, hope this information helps you have nice day.