Distraction is not always bad. The problem is when distraction becomes compulsive. And to prevent it, set a limit and maximum cap on the things that distract you.

Distraction