These phones don't have an official tool to use when you have problems with the operating system. The only way is to either upgrade the operating system using Settings > About phone > Software Update or perform a factory reset. Factory reset will restore the default settings and file for your operating system. Turn off the phone then press Volume Up + Power until Recovery menu appears. Select Wipe Data/Factory Reset and reboot the phone. This should fix the issue with random restarts.