Braces get in the way of whistling. It's possible to learn to whistle with braces, but it takes practice. Once your braces come off, you'll get the skill back if you had it before, but you'll need to practise.
This answer is for general information. Your own case needs an examination by an orthodontist.

