– First, open your phone’s Settings app
– now, near the bottom, tap System > System update
– by doing so, your update status will appear
– lastly, just follow any steps on the screen to update
2) Clear storage space
Phones will start underperforming and could randomly shut down or reboot when less than 10% of storage is free. So, you should go to the Settings app and check if you’re running low on storage. If the storage available is very little, then you’ll need to clear up some space:
– open the Settings app
– go to Storage
– select Clear Data, if needed
3) Check for app updates
– at the top right, tap your profile icon
– now tap Manage apps & devices
– then, under “Updates available,” choose to update all apps or a specific app
4) Force stop an app
Apps can sometimes cause issues to your device, whether they’re using up a lot of power, or they keep crashing. You can usually force stop an app like this:
– go to Settings
– then select Apps
– now, look for the app that is giving you trouble
– then tap FORCE STOP
5) Remove case and external battery
If you’ve put a case, external battery pack, or other accessory on your phone, you should try taking it off while you troubleshoot. External devices and accessories can interfere with your device’s performance, causing it to turn off or restart randomly. Also, make sure that external accessories don’t cover your phone’s sensors or touch its buttons.
6) Reset your phone
This is the solution that you should definitely leave for last. When you factory reset a phone, all data from the device will be removed. Any data stored in your Google Account will be safely restored, but all apps and their associated data will be uninstalled. With that said, before you perform a factory data reset, it’s highly recommended that you back up your phone.
Source: Android Help