Spinning class

How long should i let my legs rest before taking another spinning class?? Tia. Oh and by the way legs are super sore still took my first class two days ago.