Firstly, switch off ur phone because it's the principal cause of distraction ( notifications, social media.....). Then, fixe a target to reach( it can be in terms of time or tasks to do ). U can also determine a way of punishment if u don't respect ur planning. I wish these steps help u :).
What's about your method ?