I had an upper endoscopy and have gastritis why didn't my GI doc give me a pill or something this hurts a lot is there anything he can give me?

Try Omeprazole. You probably have taken it since it is over the counter. I expect your gastroenterologist was tired and behind or the nurse forgot to write or call in the script. Call the office and ask them if there is something that can be prescribed. That is if it is something that was going on before the endoscopy, but if it has just occurred since the endoscopy you need to get in to see them. L.