Serious question

I’m 5-6 weeks and go to the gym 3-4 days a week. I do cardio. I haven’t taken spin class in probably a month. do you think it’s ok to take a class tomorrow? I’m asking from experience.. I know the best is to ask the dr but he said I to still exercise .. any advice would help :)