If you are experiencing many power outages, and the device is instantly shutting down, that may cause the Windows installation to become corrupt.
Open the Settings App.
Go to System - Recovery.
Click the 'Reinstall Now' button in the 'Fix problems with Windows Updates' section and wait for that process to complete.
This process is just like an update and will not affect your files, settings or installed apps.