Both Nexium and Prilosec are proton pump inhibitors (PPIs) used to treat conditions like GERD by reducing stomach acid production, and are available over the counter. While some studies suggest Nexium ...