Start with a slower class or a beginner course. You don't need to be flexible — that's what the practice is for.
Arrive a few minutes early, tell the teacher you're new, and take breaks whenever you need. There's no competition on the mat.