to bite one's nails
He bites his nails every time he is nervous.
—Why are your nails so short? —I bite them without realising.
Stop biting your nails, it is a bad habit.