or don’t study, wing it maybe pass but most likely fail and it could become a bad habit
For example, if socialization is a temptation, then make a commitment to your friends or family to study (and then prove you did), or if the Internet, TV, or games are a distraction, you can go someplace where you won't have any Internet or games (or set up software on your computer).
Most important, don't view this as a weakness. Willpower is overrated. To succeed you need to provide yourself with a support structure.