When you say “take” do you mean classes where you’re the participant rather than the instructor? If so, then it depends on how many classes you’re instructing.
Joanne and Karin’s answers are excellent. I would only add that it’s important that you keep in mind that rest and recovery are as important as exercise in a fitness lifestyle. Adequate hydration and a sensible diet are critcal to allow for optimal glycogen replenishment in the muscles. Rest allows for stressed soft tissues (e.g., tendons, ligaments, muscle fascia) to recover.
Listen to you’re body. For example, if you’re starting to feel joint pain, if you’re not sleeping well or if you’re more fatigued than usual following a class, then you’re overdoing it.
I also heartily agree with their comments about using a microphone you find yourself yelling cues, even in a small studio.