I second the compression tights. Also doing a slow cooldown spin and some light stretching after you ride will also help. I would also add that using a foam roller every day (if possible) will keep your legs feeling loose, limber and refreshed. Often I'll wake up stiff and sore in the morning, foam roll for 10 minutes, focusing on sinking into the sore spot and will feel good enough to go for a ride or run by the afternoon.