Thanks for posting on HCM,
First of all I doubt if the medications are directly responsible for your weight loss
. You mentioned having problems digesting food normally due to the peptic ulcer
diseases (PUD) which could have been responsible for causing weight loss instead of looking at the medications as being the culprit. Ulcoat (an antacids) and rabonik or generic-rabeprazole
(proton pump inhibitor) are good medications that are indicated for gastric ulcers
or gastritis. I think stress too could have contributed slightly to this weight loss.
To gain back weight, you will need to eat regularly (balanced diet), exercise, quit worrying or stressing too much etc. But know that the side effect of a weight gain plan
is obesity, so be careful while trying to gain weight as it is easier gaining weight than loosing. See a doctor too to discuss about this weight loss.
Hope this helps