Why do I lose focus so quickly
Rapid focus loss usually comes from overloaded inputs and weak task structure.
Practical solution
1) Cut incoming stimuli
Remove notifications and non-essential tabs.
2) Clarify the task outcome
Define exactly what done means before you begin.
3) Rebuild with progressive blocks
Start short, then increase as consistency improves.