-get a stress ball to fiddle with so that you don't put your fingers in your mouth.
-buy no-bite nail varnish that tastes horrible
-paint your nails bright colors so that you notice when they move up to your mouth, or so that they look too pretty to ruin them
-start a calendar and try to not bite them for, let's say a month, and if it works, reward yourself with a prize.