First put the phone in Safe Mode which disables your downloaded apps and leaves the stock ones working and then see if the issues remain.
If they don't then an app(s) is causing this.
If it remains then you could try backing up and factory reset.
Also a Samsung Experience Store or Samsung Service Centre can run a diagnostic test on the phone.
Daily Driver > Samsung Galaxy s²³ Ultra 512Gb in Phantom Black.
The advice I offer is my own and does not represent Samsung’s position.
I'm here to help. " This is the way. "