Ransomware is one of the deadliest types of cyber-attacks.
There is little one can do should their data be held ransom by a criminal except restore from a backup.
Knowing you always have a secure backup that cannot be hijacked is the best way to defeat ransomware.