A doctor's referral is not always necessary to join rehab classes. However, it's essential to consult with your healthcare provider before starting any new exercise program.