Stay protected from Ransomware
Backup data on a regular basis in case a restore is required. Only download software from reputable sources such as the vendor of the product and be wary of any site offering you commercial software for free. Do not click on suspicious links from email and webpages. 
Never pay the ransom as there no guarantee you will be provided with the key to decrypt your data.