Medical experts from the CDC, American Academy of Dermatology, and Skin Cancer Foundation unanimously advise against deliberately trying to tan or laying out in the sun.
If you are going to lay out, do short durations and avoid high-index days or times.