Drink plenty of water and get lots and lots of exercise. To quit
biting your
nails, get that kid stuff that tastes awful and put them on your fingers, plus make a concentrated effort not to do that. Instead, you can get into puzzles, like Soduku, it helps to release that pent-up energy in a similar way as chewing on your nails, it's a tiny goofing thing and much more adult.