If you want to feel more at ease and calm while tanning, it's preferable to do it after you've worked out in the sun or on a tanning bed.  It works similarly to how a sauna promotes relaxation after a challenging workout. Just remember to stay hydrated and to chill off sufficiently before soaking up the sun.