1. Put that Phone in Blind Spot :- While writing code on Laptop I put my phone behind the laptop as it’s kind of blind spot for my eye and that phone now never try to attract me
2. Use Pomodoro Technique :- Work for 50 minutes + take rest for 10 minutes