Try the below steps:
Check your current software version, if there is a new update or the recent update is causing it
Try SMMI test to check if anything related to hardware
How to Enter SMMI_TEST (test hardware)
Go to Calculator=>type " .12345+= "
you will be entered to SMMI_TEST
3.Factory reset your device once
If nothing works please visit the nearest service center