works by shutting off proton pumps.
Return pumps turn on to produce acid when the food comes into the stomach. Therefore, the Nexium needs to be in the system before the food gets there, to shut the proton pumps down. Otherwise, acid will be produced once the food arrives in the stomach. That's why you take the Nexium before the meal. Hope that helps.