It could be any number of issues, more details like full system specs, OS, BSOD codes, etc would be good to know.
Potential list is OS not updated, missing files/bad registry's, bad drivers, malware, virus, those are the big software candidates.
Hardware could be bad RAM, bad PSU, bad MOBO, bad CPU so yea.