Does sunscreen prevent tanning? If you’re using it right, it should. And that’s not a bad thing, according to dermatologists.

Sunscreen is designed to block the sun’s harmful ultraviolet rays from damaging your skin. Without this protective barrier, both UVA and UVB rays can damage the DNA in your skin, raising your chances of developing skin cancer. But those rays cause other problems, too.