Fun fact: The only way to get a tan is through increasing your risk of skin cancer:
In the second process, triggered primarily by UVB, there is an increase in production of melanin (melanogenesis),[10] which is the body's reaction to direct DNA photodamage (formation of pyrimidine dimers) from UV radiation.
https://en.wikipedia.org/wiki/Sun_tanning
(The first process is generally not what people refer to by tanning)
Remember to always use sun screen folks!

