What is the best solution to muscle soreness?

Well Im in dance and ie been doing it since childhood, but the problem is no matter how much I stretch before whenever I do flexible dances I'm always sore the next morning. Any solutions? Oh and during the pre workouts where we do a bunch of squats I like can't walk for two days!
What is the best solution to muscle soreness?
Post Opinion