Naproxen is a NSAID with analgesic and antipyretic properties. The mechanism of action of Naproxen is like that of other NSAIDs, related to prostaglandin synthetase inhibition.
Esomeprazole is a proton pump inhibitor that suppresses gastric acid secretion by specific inhibition of the H+/K+ ATPase in the gastric parietal cell. By acting specifically on the proton pump, Esomeprazole blocks the final step in acid production, thus reducing gastric acidity.