Ulcers have recently been discovered to be caused by a bacteria (or virus?) which can be treated with medicine. By all means see a doctor who knows this modern information and will cure your ulcer once and for all.
Since I have allergies to practically all anti-biotics, I treat myself.... but good idea for those to which it may appy. IMHO (an herbalist) there are more than one cause but if otehrs are helped via drugs that’s good. I got rid of mine drinking aloe gel and changing diet more than 25 yrs ago but sometimes it makes a peep and I deal with it simillarly. It just sort of whispered lately.