Try to relate when you bite your nails to try to avoid them. If you do it when you’re really bored, avoid dead time and keep your hands busy, for example, take a crossword puzzle or a sudoku and eat your head while thinking of the solution, but don’t nibble on the pencil.