I dedicated a room for my homework, which is my office. I find studying and doing work in small portions everyday helps compared to spending a whole day on a lengthy assignment which can lead you to be more distracted. Also, give yourself breaks when studying so you do not overwhelm yourself
Oh and strattera helps a lot since I have adhd.