Simple. Just make a habit of doing reality checks whenever you wake up, as Shift said
Give it a while to sink into your skull as a habit, and bob's your uncle (grandfather in my case)