Although many people bite their nails occasionally, repeated and compulsive nail-biting can cause long-lasting harm.