Nexpro 40 and Nexium are both antacid medicines containing esomeprazole as the active substance. They are used to treat acid reflux disease and stomach and intestinal ulcers. Nexpro 40 and Nexium are different brand names of the same active ingredient. However, you should always use the brand of medicine that is recommended to you by your doctor.