How did the spyware get on my computer? The most common way to get spyware is by downloading file-sharing software, screensavers, or other freeware programs.