Avoiding injury is an important part of any physical exercise. The best strategy is to work on your flexibility and fitness. You should also make sure you try things at a comfortable pace to ensure your body can do the moves.
Whilst rates of injury in martial arts can be similar to playing a sport or doing a workout, if you are being guided by friendly, professional instructors, you are almost certain to be safe from injury.