The #1 Rule Of Computing
--> Make a backup!
Backup 1: Local, for quick access.
Backup 2: Away from your locale, for safety.
If you backup properly and regularly, you LAUGH at ransomware, among other profound benefits.
Apparently, it's a waste of time pointing this out to 1/3 of computer users. (o_0)
If you don't backup, you get what you deserve. --> You should not be using a computer. You're not qualified. Seriously.