This is hard, but here's what I found helpful.
1. Block out chunks of time on your calendar to study and find a quiet place at home, in a library, or wherever you think best.
2. Get a timer. Set it for 30 minutes, and study like you mean it. Turn off your phone, close your email, turn off Twitter and any other distractions.
3. After 30 min, set the timer for 10 min. Take a break, check your phone, take a quick walk around the block, get the mail, get a snack, etc.
4. Repeat.
You can do this!