Moisturizer is skincare—so it should always be the last step in your skincare routine (unless it's daytime, in which case, you should end your routine with sunscreen). Primer, meanwhile, is a makeup product, and it should always be the first step in your makeup routine.