Nail biting was classified as an addiction not too long ago after doctors found it released stress relieving endorphins. What helped me was getting false nails put on. Id try to bit out of habit and it badly hurt, I've stopped now because of it. Also getting gel painted on there helped too, I couldn't peel it off like you can with nail polish.