When I got braces, they told me to "not bite anything hard including your nails!" lol
It is a very hard habit to break though. I find myself biting when I'm in a rush or nervous about something. and also boredom.