There are several ways to get the virus, but the most likely place, and the easiest for you to control, is through email. Simply DO NOT click on any links that you see in an email message. If it looks important, such as from a bank, insurance company, or school, visit the official website of that organization to access the information. You are more likely to be protected by logging in on their website.
Another protective measure to take is to back up your important information to secure services like Microsoft OneDrive, Dropbox, or another cloud storage provider. This way, no matter what comes along, your files will be safe.