###Human: What will happen if Ranitidine is taken before endoscopy? ###Assistant: Hi. According to me, it is not compulsory to stop Ranitidine before endoscopy. Sometimes, it may hide the findings of gastritis or an ulcer if taken for a longer time before endoscopy.