What is the medicine nexium used for: "Nexium is used to treat the symptoms of GERD and other conditions involving excessive stomach acid production. You buy any medicines check with a pharmacist that they are safe to take with Esomeprazole. Esomeprazole is used to treat ulcers, gastroesophageal reflux disease, and other conditions involving excessive stomach acid production."