Well, I believe the easiest way to get away from distracting friends is to, first and foremost, find an environment that is suitable for your studying needs — often, the silent place in the room or in your house. That said, the most essential way to get away from those distractions is really to put your phone away.