Nexium Nexium is basically used for the treatment of symptomatic resolution of diagnostically confirmed erosive esophagitis. It reduces the gastric ulcers associated with the continuous NSAID therapy in patients at risk for developing gastric ulcers. This medication along with amoxicillin and clarithromycin is used for the treatment of patients with H.pylori infection and duodenal ulcer disease. Patient should not take this medication if allergic to esomeprazole or any other benzimidazole medication. Nexium is not use for immediate relief of heartburn symptoms. It is given for 4 to 8 weeks only as per the physician’s direction.