How can I get back on my sleeping schedule?

My sleeping got all messed up and I really want to get it right again. It's effecting school, my work, even my relationship. Please help, I'm getting home at 6 pm and falling asleep then waking up at 2 am and when I get to school, I'm too tired to focus. Ill get home again and I won't be able to talk to my girlfriend because I fall asleep. Please help, I've tried finding a time to sleep and stay on that time but ill just wake up two hours later and I won't be able to fall back asleep. Please any suggestions or tips that might help?

https://revision3.com/androidauthorityextras/amazon-kindle-fire-hdx-mayday-feature-focus

dont go to bed at 6 when you get home. gut it out for atleast 3 more hours

n forget all that energy drink, coffee, 5 hour crap… it dont work for sheet

or… you might have -insomnia-. its nothing to serious. you should see a doctor and tell him/her what your telling us

Insomnia-

Insomnia, or sleeplessness, is a sleep disorder in which there is an inability to fall asleep or to stay asleep as long as desired. While the term is sometimes used to describe a disorder demonstrated by polysomnographic evidence of disturbed sleep, insomnia is often practically defined as a positive response to either of two questions: “Do you experience difficulty sleeping?” or “Do you have difficulty falling or staying asleep?”

sleeping disorer-

A sleep disorder, or somnipathy, is a medical disorder of the sleep patterns of a person or animal. Some sleep disorders are serious. Disruptions in sleep can be caused by a variety of issues, from teeth grinding (bruxism) to night terrors. When a person suffers from difficulty in sleeping with no obvious cause, it is referred to as insomnia. In addition, sleep disorders may also cause sufferers to sleep excessively, a condition known as hypersomnia