>>521709write or print a weekly schedule of your goals for every hour/day/week (also make one for your goals for each month/year) and force yourself to follow it everyday until it becomes a habit. discipline yourself if you don't follow it.
protip: use timers (better yet if they're physical like pic related) with them you can set the timer for half an hour and during that time you can focus on one task (turn off everything that could distract you)