So recently I've taken a new way to doing homework that I thought id share with anyone who can't focus.
What I do is I take shifts between multiple subjects and other things.
Read one page in history textbook and take notes
Then write one Paragraph for an English essay
Do 30 push ups
Then write one point in a science lab write up
spend 10 mins on internet
Read one page in history txtbook
Its good to do something academic, then take a break. It's really helped me focus on my homework for the past few weeks maybe it'll help you too.