First go into the BIOS and look under pc health monitor or something like power management and see if you can find the CPU temp make sure its not overheating.
if you can get into safe mode ok then run through warez monsters guide found in my sig below.