• back up your hard drive.
  • If you run a business, back up every computer in your office and have a plan for what to do if your system goes down for a while. And make sure your users are educated about the common kinds of attacks.
  • Don’t pay the ransom (it is not even sure, you will retrieve the your file)

For more details about you can read from the Washington post here