Ranitidine is an anti-inflammatory drug used to reduce stomach acid production. Its most commonly used to treat gastroesophageal reflux disease (GERD) and to treat ulcers. The drug is available in both oral and injectable forms. Injections of the drug are typically administered by an intravenous route and can be administered intravenously, intramuscularly, or subcutaneously. The drug is available in both generic and brand-name forms.