Nexium is used to treat various stomach problems involving irritation due to stomach acid.