Hi, welcome to the forum. First you have to go to gastroenterologist to confirm that do you really have ulcer.
Gastroenterologist will put a flexible tube into your stomach which can visualize inside of your stomach and
intestine. If he finds ulcer in your stomach then first they will try medicines. If it is refractory to
medicines then they will do surgery. Take care