Nail Biting

I'm 16 and have had a nail biting problem for as long as I can remember. I'm really trying to stop buts it's so hard. I've tried to keep my hands busy and it doesn't work. I can't wear fake nails that much because I'm in Culinary Arts and we aren't allowed. Foul smells work for a little but then I end up getting past the smell to bite them. I usually bite them when I'm nervous, stressed, or if I think the nail is uneven. Anybody have any tips because I'm really trying to stop I don't want to have stubby nails forever