You can determine whether it is a third party app causing the problem rather than something to do with the phone itself, by starting it in safe mode. See :-
https://thedroidguy.com/2017/08/run-samsung-galaxy-note8-safe-mode-recovery-mode-wipe-cache-partition-perform-master-reset-tutorials-1075547