I feel you man, I went through that couple years ago. Endoscopic, had my gallbladder removed. Finding out after that it is a condition that a small % with Cystic Fibrosis can develop. I had an ulcer too. But, my problem because (what I thought was lucky) I’m pancreatic sufficient (don’t take enzymes with every meal), a small % can develop pancreatitis (my pancreas creates enzymes & attack itself). I’m not complaining as there are tons of people who have it way worse than I do.
I had a stomach ulcer before. Happened after years of drinking fireball every day for years. I started drinking alot more water and less alcohol and it went away. Whenever I have stomach problems, forcing myself to drink more water always helps. I know that won’t necessarily be the cure for everyone but it might help! Good luck brother 👊🏼