|"If you can get to your boot screen its not your computers insides"|
"There is 2 reasons you 1.might have a virus 2. your hard drive may be corrupt."
Incorrect again. Viruses affect the operating system, not the hardware. I'm guessing the system shuts down before even reaching the OS therefore the virus (if there is one) isn't even coming into play. And a failed HDD generally won't cause a system to shutdown, it will cause an error message to be displayed.
"If you have a recovery disc use it"
You can't fix a hardware problem with a recovery disk.
"if that doesn't work buy a new hard drive then use your pc recovery disk"
How can you suggest buying a new HDD when we don't have the full details yet?