Caffeine stimulates the central nervous system; it is associated with delaying sleep onset and can cause wakefulness. Substances containing caffeine – e.g. coffee, tea, chocolate and cola – should be avoided for four to six hours before bedtime and during the night if you wake up. Coffee generally contains about twice as much caffeine as other caffeinated drinks.