Posted inMedicine Zolpidem Ranitidine is an H2 antagonist used to treat stomach ulcers and acid reflux by reducing the amount of acid the stomach produces.