Maybe you are lactose intolerant and you are just getting stomach pain from dairy products like cream in your coffee or soda, or pizza etc.
Cuz you have been puking for literally years. You never said if you were actually diagnosed with a stomach ulcer.