Had an issue with acid reflux / excess stomach acid when I was a teen, and that was agony. When it flared up it felt like being burned from the inside, because that's what was happening. Even shifting your body a millimeter after you'd been lay down in bed for hours waiting for it to subside would set it off again, and it was pain in terms of gluping for breath and talking was near impossible. Been to hospital a few times with it and I think basically they just hydrate and monitor, give pain relief, but no idea what causes it etc. They didn't indicate if it was diet, genetic or whatever.
Tried diet changes, less alcohol, it still crops up now and then but nowhere near as bad as when I was a teen. More like indigestion now that forces you to stop and slow down.
That said, I don't much fancy gall stones. I know someone who had that and it's something that I would and do proactively take steps to avoid having.