We recommend configuring protection for the device in advance to prevent infection and mitigate possible damage in the future.
For recommendations on how to protect devices against encrypting-ransomware, see this article.