Basically I set my alarm about an hour before class every night and tell myself that I'm going to wake up at that time, but then the alarm goes off and I'm miserable and I reset the alarm for like 10 or 15 minutes ahead and keep doing that until it gets to the point where I literally have to get out of bed and shower or I will be late. It usually works.