As the internet penetrate through every aspect of our life, our attention is getting more fragmented and it slowly alters our brain function. Our thinking becomes more superficial. But to truly master a subject requires deep thinking and focused practice.
It is against human nature to stay focused because we live in the wild for millions of years and our brain is very sensitive to every change in the perilous nature so that we can stay alive. Therefore, it takes deliberate efforts to concentrate in an era full of noise and temptations.
A few good suggestions: get up early so that you can have some personal and uninterrupted time slots in the morning. Use mobile apps like Forest or Tomato timer to help you stay away from mobile phones.