Although sunscreen is there to protect your skin, you may still achieve a tan to some degree when using it. It protects your skin from sun damage from the UV rays, however the color of your skin may still be altered by the rays of the sun. Wearing sunscreen will help keep your skin protected and hydrated, and so the sun is less likely to dry your skin out and you may actually achieve a deeper tan in the long run, although it may take longer to get there than if you go out in the sun unprotected.