You wouldn't drive a car without learning - its the same with a PC.
these may help:
http://www.tomshardware.co.uk/forum/25617-63-computer-restarts-randomly-windows
https://www.pcworld.com/article/2974060/windows/when-your-computer-reboots-itself-over-and-over-again.html
fafsav, September 2017