Find your personal patterns for focus, such as how long you can do sustained thinking or how you can reset your focus when it drifts.
The following are solutions at a glance for focus:
How to improve your focus
Work in shorter bursts. Change your pace. Work on things that you find more engaging. Use your outcomes as guide posts to stay focused.
How to change your focus
The key to changing your focus is changing the question that you ask.
How to find your flow
Find activities that challenge you and you enjoy. Avoid activities that are so simple you get bored, or activities that are so difficult you get overwhelmed. Look for activities that stretch your skills and that let you feel fully engaged.