Why does my computer restart without warning?

When im typing or doing things to FAST it randomly restarts. Why is that?
4 answers 4