WannaCry: Are you safe?

What makes the self-replicating encryptor WannaCry so dangerous and how to prevent infection.