User Activity

I don't know what happened to my samsung note 9 from past 2 days i cannot stay in any app more than 2 minutes. The apps restarts automatically. Can anyone help me