Protective measures can prevent ransomware from occurring in the first place. Visit this page for a handy checklist of preventative steps you can take.
If you have been breached, we recommend you do not pay the ransom. There is no guarantee paying the ransom will fix your devices. It can also make you vulnerable to future attacks. Instead, restore your files from backup and seek advice.
For this reason, it is vital to back up your data and put effective cyber security practices in place.
Depending on the scale of the breach, it is also imperative that you immediately activate security controls and/or get in with a cybersecurity provider for advice and guidance.