How do you stop biting your fingernails?

I have an addiction to biting my nails when I am nervous and I don't now how to break the habit. The best method is the one I will choose best answer.
40 answers 40