When I am very nervous and panicky I dig my fingernails into my arms. Like someone else said, the pain distracts me from the nausea and panic so i guess thats why I do it.