Sorry, but could you be more specific? You're getting an alert about a virus or spyware on Facebook, or in a notification? Unless you have an antivirus app installed, something like that is almost certainly bogus, and probably inviting you to install a piece of malware masquerading as a security app.