This clock is a small part of the brain called the suprachiasmatic nucleus of the hypothalamus. It sits just above the nerves leaving the back of our eyes. Light and exercise "reset" the clock and can move it forward or backward. Abnormalities related to this clock are called circadian rhythm disorders ("circa" means "about," and "dies" means "day").
^ Hirshkowitz, Max (2004). "Chapter 10, Neuropsychiatric Aspects of Sleep and Sleep Disorders (pp 315-340)" (Google Books preview includes entire chapter 10). In Stuart C. Yudofsky; Robert E. Hales (eds.). Essentials of neuropsychiatry and clinical neurosciences (4 ed.). Arlington, Virginia, USA: American Psychiatric Publishing. ISBN 978-1-58562-005-0. ...insomnia is a symptom. It is neither a disease nor a specific condition. (from p. 322)
Get back to sleep when you wake up at night. Whether you have a sleep disorder or not, it’s normal to wake briefly during the night. If you’re having trouble getting back to sleep, try focusing on your breathing, meditating, or practicing another relaxation technique. Make a note of anything that’s worrying you and resolve to postpone worrying about it until the next day when it will be easier to resolve.
One factors that could explain this change in sleep architecture is a change in circadian rhythm, which regulates sleep.[29] A disruption of the circadian rhythm would therefore generate sleep disturbances.[29] Some studies show that people with AD have a delayed circadian rhythm, whereas in normal aging we will find an advanced circadian rhythm.[29][31]
Throughout the decades as more research and studies were conducted, the amount of sleep disorders being discovered began to rapidly increase. In 1990 The AASM, along with other professional societies including the European Sleep Research Society, The Japanese Society of Sleep Research, and the Latin American Sleep Society published the International Classification of Sleep Disorders (ICSD), which is a "primary diagnostic, epidemiological, and coding resource for clinicians and researchers in the field of sleep and sleep medicine."

Research suggests that hypnosis may be helpful in alleviating some types and manifestations of sleep disorders in some patients.[41] "Acute and chronic insomnia often respond to relaxation and hypnotherapy approaches, along with sleep hygiene instructions."[42] Hypnotherapy has also helped with nightmares and sleep terrors. There are several reports of successful use of hypnotherapy for parasomnias[43][44] specifically for head and body rocking, bedwetting and sleepwalking.[45]
^ Tranah, Gregory J.; Blackwell, Terri; Stone, Katie L.; Ancoli‐Israel, Sonia; Paudel, Misti L.; Ensrud, Kristine E.; Cauley, Jane A.; Redline, Susan; Hillier, Teresa A. (2011). "Circadian activity rhythms and risk of incident dementia and mild cognitive impairment in older women". Annals of Neurology. 70 (5): 722–732. doi:10.1002/ana.22468. ISSN 1531-8249.
What to do: If you suspect you have a circadian rhythm disorder, take steps to get your body onto a regular sleep schedule. Choose a bedtime and wake-up time that work for you, and follow the same routine each day, even on weekends. This can be tough for those who have to get up early during the week but like to stay up later on weekends, but do your best to craft a compromise between your work week and weekend habits. The important thing is to avoid the trap of sleeping from 10 p.m. to 6 a.m. during the week, then suddenly shifting to late nights and late mornings on the weekends. This will inevitably leave you with insomnia on Sunday night, which in turn sets you up to start the week exhausted on Monday morning.