There are many reasons a computer can be slower than when it was new. Windows computers tend to get slower over time as programs are added and removed and changes are made to the software and operating system. You can maintain it as much as you like but it always will get a little slower as its used. Think of it as a car that you tune up over and over but it never runs like it did when it was new. Many people will format their hard drive and reinstall everything from scratch every couple of years to keep things running smooth.
If you don’t want to do that then you can perform various maintenance procedures like cleaning up unnecessary files such as temp files and log files. Windows has a built in disk cleanup utility or you can use a third party application like the free CCleaner which does a better job.One of the main reasons for computer slowdowns is caused by spyware infections that you get from downloading things from the internet that you may or may not even know were being installed. There are many free anti Spyware\Malware programs that you can download and install to scan your system for infections. You may also want to check your startup items using the Windows System Configuration Utility or MSconfig to see if there are any programs set to startup with your computer that you don’t want to start up that may be using resources and slowing it down.
Try booting into Safe Mode and choose Last Known Good Configuration. This will start your computer using the configuration that worked successfully last time you started your computer.
Or you can see if you can actually log into Windows from Safe Mode. If so then you can try a System Restore to put your computer back to a state before you started having this problem.
You can also edit your startup items using MSconfig to make sure that there is nothing set to boot with your computer that shouldn't be. This could be causing your system to hang.