Elgar Q.
Turn off your phone, block websites that distract you on your computer, set timers for how long you want to work on a certain task and do nothing but that task until you finish it or the timer goes off. I would also recommend you wear headphones and listen to music that isn’t distracting, such as jazz or classical.
Hans Uwe X.
Hi, I use Bose headphones with noise reduction. This puts most people off from interrupting and helps stay concentrated. HTH.