If your computer is restarting itself, then you may have a problem that's not related to the game. If you mean that the game keeps freezing, that's another issue. e Scan your computer for malware.
If there's no malware, a file may be corrupted that needs to be fixed. Uninstall and reinstall the game.
If that doesn't help, send in a ticket to Support.