If I wake up for any reason within one hour before my prescribed wake up time then I get out of bed. No questions asked, I just do it.
I had to make this rule because if, for example, I wake up 30 minutes before my alarm and go back asleep I find it 10x harder to wake up when the alarm goes off.