X Ranitidine is a medication that was commonly used to treat conditions related to excess stomach acid, such as gastroesophageal reflux disease (GERD), peptic ulcer disease, and Zollinger-Ellison syndrome. It belongs to a class of drugs known as H2 Receptor Antagonists , which work by reducing the amount of acid the stomach produces