Two great natural resources to help with ulcers, and time tested for millenia: apples and cabbage. Heartburn can be corrected with ensuring your stomach ph is at proper levels by ingesting citrus like lemons/limes and apple cider vinegar before meals.
I was on a prescription for a Proton Pump Inhibitor for a minor intestinal issue; the side effects were immense.
We are over-medicated in this country.
No kiddin, smeagol it ifn ya wanna find out.