If you have gastritis, you may want to ask your dr about Carafate. I had gastritis and using Carafate cleared it up.
Don't worry about the endo, I was out cold for all of mine (x4) and don't remember anything.