You need your rest to make your life more relaxing and less strenuous. There are some techniques suggested by AARP to help us overcome sleep problems. One is to try to wake up at the same time every day. Most of us have an internal alarm clock that will assist us in achieving this. If not, we might rely on an alarm clock or radio to help us adjust to the time we desire to wake up.
Caffeine can certainly interfere with our ability to sleep.
Another sleep robbing culprit is nicotine. Avoid it, and especially near bedtime and upon night awakenings. Also on the list of don'ts is alcohol-again especially avoid the use of it in the late evenings. Even food can be an enemy of sleep. Especially if we eat heavy meals close to bedtime.