Stay away from them at all costs unless you must do the homework on the computer. Put your phone, computer, and anything else that might distract you far from your reach. Going one phrase or sentence at a time makes it possible to write or do something. Skip some lines, to leave room to fill in later - if you need to move on to another area. It's easier to concentrate on your homework when you don't have clutter in your workspace. Take 5 minutes to tidy up your immediate area before you get started. Don't go on a cleaning binge as a way to procrastinate.
4, avoid procrastination. The surest way to get over procrastination is to take care of a task as soon as you think of it - don't delay and tell yourself you'll do it later. Then stay in a quiet room where you know you won't get distracted. Keep a timer for every 30 minutes to an hour, so you know how long you've been working and can still keep track of time.