You should apply sunscreen after you moisturize your skin, so it’s perfectly fine to apply foundation and other makeup over it. But wait a few minutes for the sunscreen to set before applying your makeup.