Waking up is dizzy and disoriented

This happens to me a lot from time to time and it takes around 30 minutes to a hour to get back to normal has anybody else sufferd from this and if so what do you do to prevent it?