If you have problems focusing while you write, try using ILYS.
The site is coded so that you can’t see what you are writing, only the last letter, and you can’t edit anything until you get to your words goal.
This means you have to focus on writing and what’s on your mind, and not the editing of what you have written so far.
You have to write or you can’t edit.
Once you hit your goal you can edit and write normally, or go back and use ilys once again.
Since you don’t have to worry about editing, you can let your creativity flows.
It can be frustrating, but it’s also liberating because you have to let it go.
Write first, edit later.