There many things that affects your computers performance, a virus or insufficient hard drive space for example.
Below are some solutions that you may try in fixing a slow computer.
Run The Performance Troubleshooter
Don't Set Programs To Automatically Start
Scan System For Errors
Uninstall Unused Programs
Scan For Viruses And Malwares
Run Disk Cleanup And Defrag
Reinstall Your Operating System