Your primary physician can treat it, if it is only mild. You will be transferred to a gastroenterologist if you are diagnosed with chronic symptoms of acidty and stomach ulcer.