How do you stay focus when studying?

There are times when I am studying and for the life of me, I can’t stay focus. I keep getting distracted by my phone, getting food, going to websites, or just thinking about random things. It is super annoying haha

I have no idea why I feel the urge to do those things. Maybe because I am tired and want a break from studying, I am frustrated with the material, or just bored. Don’t get me wrong, I have times where I am super focus on what I am studying and don’t have a single urge to do anything else.

But sadly, I have never thought about how I got into that focus flow because I am so focused on getting stuff done. I have tried some things like putting my phone in another room and not being connected to the internet. It works but I would love to know more ways to be focused.

What are some tips and strategies you use to stay focus and avoid distractions?