Because coffee contains caffeine, it can excite the cerebral cortex function, which can cause patients to have trouble sleeping. At this time, it is recommended that patients must avoid coffee intake before going to bed to avoid causing the cerebral cortex to become active and patients to experience sleeplessness. If once in a while, the patient can not be too concerned, can do other things, distracted, listen to soothing music, or close their eyes to rest. After the caffeine is metabolized, the patient will soon fall asleep. Insomnia patients must avoid coffee intake, from the usual diet to actively adjust, you can eat more fresh vegetables, and fruit. Drinking a glass of hot milk before going to bed can help patients sleep better. Do not drink coffee, cheese products, and spicy stimulating food, which can lead to poor sleep.