Going to a place with few distractions. I used to go to a colleagues office when I was writing my thesis at times because there was nothing of mine there to distract me.
Listen to music that helps you think (some classical works for me) or have no music (also works for me on occasions).
Turn off your phone, fluther, chat anything like that. Put your phone in another room if you know you can’t resist it. Turn off auto notifications on your email.
Let people who are likely to distract you know you are studying and you don’t want to be disturbed.