I will use phone only when required. Like I will not use phone in between tasks. Will take separate breaks or checkpoints of using phone for the Things which seems or are important.
If there's an urge to do anything which does not relate to the task we are doing Just Write It. For this make the Pen and Temp writing board handy. 😉