How could a virus get into the nasal cavity?

A virus can get into the nasal cavity if you stick your finger in your nose or you might inhale it.