I have H-pylori ulcers in the stomach what should I eat?

I have H-pylori ulcers in the stomach. I’ve been taking Pantocid medicine for past 15 days.
And due to this I can’t eat properly. I feel scratchy and pain while eating. I have a recent problem of piles too.
Kindly explain this, and please tell what should I eat.