another option is to stay seated on your bike and pedal slowly to help in recovery. no one minds if you do this, and the instructor might even recommend it.
remember to talk to the instructor after class. for example, let him or her know how you felt and if anything was particularly challenging for you. the instructor will then make recommendations for your next class. most of all have fun during your first group ride experience! 