Had horrendous acid reflux for a few years which was later found out to be caused by a small hernia at the top of my stomach.
Docs said there wasn’t much point getting rid of the hernia, as it would likely just come back again.
Instead prescribed Omeprazole. Take one a day and never had a problem since.
sorry edit to add that in hadn’t seen the others talking about Nexium, there’s a slight variation in nexium and the prescribed Omeprazole. Don’t ask me what. But the prescribed stuff got rid of mine where as nexium didn’t seem to quiet get it.
Might be different if your case though.