As the title says, sometimes when i try to sleep while very tired - while i'm almost falling asleep I realize that i am almost sleeping and my mind wakes me up. It takes a long time to get to sleep again when it wakes me up all the time. After a while i'm too tired to realise it and just fall asleep for real.

Did this happen for any of you? And what should I do to just keep falling asleep instead of having my mind making me stay awake. Yea I know it's hard to explain.