Some people have trouble sleeping if they drink a caffeine-containing beverage early in the day while others feel no effect from coffee consumed at night. Some people even feel jittery and have a harder time focusing on work with caffeine. Tea can be a better option for some people, but be aware that tea, even green tea, contains a moderate amount of caffeine unless you drink a decaffeinated variety or an herbal tea
without caffeine. Although some can be a part of a healthy diet, relying on coffee or caffeine is a sign that you need to get your lifestyle, and sleeping habits, back on track.Avoid sugary snacks.