They need to check your enzymes. Your food doesn’t digest. 8 hours? It shouldn’t be still sitting there
Did they do endoscopy? Full liver panel? Colonoscopy?
Perhaps Prilosec is not the right medication. It treats heartburn, but you seem to have something else going on. You suppose to take photonics (Prilosec or what not) on empty stomach half an hour before your meal. Many people take in the morning but it’s actually recommended before your largest meal. So when you take it, you immediately throw up? Why? You are unable to keep it down? Or you throw up later? It’s already absorbed later. So are you able to eat a decent size meals? If not, Prilosec doesn’t even serve any purpose .
Not everyone needs surgery for ulcers. I’d speak to your doctor
I don’t understand why doctors aren’t raking care of it. It’s been like forever and you aren’t better.