If you’re tempted to procrastinate, find a way to visualize your future self. Focus on the pain that results from putting things off, contrasted with the relief of having completed your task.
MORE IDEAS FROM THE ARTICLE
In a normal situation, you might choose to eat a cookie rather than eat vegetables. What if the cookie wasn’t there to begin with? It is much easier to make the right choice if you’re surrounded by better choices. Remove the distractions from your environment and create a space with better choice architecture. - James Clear
This is a self-regulatory strategy in the form of an "if-then plan": "If the phone rings, then I’m not going to answer it." "If my friends call me to say we’re going out, I’m going to say no." So you’ve already made these pre-commitments.
Set a timer for 30 minutes. During that time stay focused on your work. When the timer goes off, set it again for 10 minutes, and rewards yourself with a fun activity like YouTube videos, chatting with friends, or reading a book. After 10 minutes, reset the 30-minute timer and get back to work.