Why does my computer just randomly shut off without warning?

It doesn't over heat i don't think, it doesn't feel hot, and even if it did shut off for overheating I don't think it would restart itself right away. My computer just shuts down and restarts, without warning and I don't know why. If this happened to anybody before can you PLEASE tell me how to... show more It doesn't over heat i don't think, it doesn't feel hot, and even if it did shut off for overheating I don't think it would restart itself right away. My computer just shuts down and restarts, without warning and I don't know why. If this happened to anybody before can you PLEASE tell me how to make it stop?
thank you!
6 answers 6