Tanning after a workout is preferable; the heat from the sun or tanning bed will help you relax and feel more at ease. It is similar to how a sauna helps you unwind after a good workout. Just make sure that you keep yourself hydrated and that you cool off enough before you catch those rays.