@ohyoupokedme As others have said it’s hard to advise without knowing exactly what you’re doing - sounds like boot camp / cross fit etc?
I can tell you that as you go along you will “learn” your body and how to deal with DOMS.
I’m in my 40s and I have to tweak things every so often but what works for me now is Monday: lower body, Tuesday: Pure Barre, Wednesday: rest. Thursday: upper body, Friday: Pure Barre. I sometimes add more in my week, but I only lift twice, and absolutely no high impact cardio.
You can sometimes head muscle soreness off at the pass with yoga, Pilates, etc (hence my PB days) Eppie baths, foam rolling.
For me, the trick is to do this before I’m sore. 24 hours (or less if possible) after my lift works well for me. You might try this the evening of your class and/or the day after, YouTube some yoga/stretching