Is it showing adequate battery ?
Is there any available software updates available ?
Have you sideloaded an app via a Apk File ?
Try deleting your most local App(s)
If possible put it in safe mode to see if it is an app causing issues.
You could try backing up and factory resetting.
If this does not help then a Samsung Service Location can run a diagnostic on the device.