If it helps, underline key instructional words in the title, such as “compare” or “analyse”.This forces your mind to focus on the right kind of task, so you write the essay with this in mind.
Of course, don’t spend too long on this and end up with not enough time to write the actual essay!
Once you’ve done this, organise the notes into a sensible structure by dragging and dropping paragraphs into an order you think works. You now have the outline of your essay in note form.
You can now turn your notes into an essay by rewriting them into academic prose, complete with ‘filler’ sentences that glue it all together and help build your argument.
If it helps, install a full-screen text editor onto your computer, such as Darkroom, to force yourself to look at your essay and only your essay.
You can also get browser apps that keep you off social networks for a time period of your choosing, such as Leechblock.