Yes, just reformat the hard drive. It will wipe it and then you can reinstall the Operating System. You just have to actually have the Operating System disk still. That will take off any spyware, viruses, etc... It will not fix any possible hardware issues though.
"Don't be shocked that people die. Be surprised you're still alive."