Food has no role in treating insomnia. Insomnia may be due to physiological factors, mental illnesses, etc., which need to be improved by treating the cause and medication. 1. Physiological factors: for example, insomnia can be caused by negative events in life, excessive mental stress, etc. Psychological treatment is needed to release pressure by learning to listen and talk; the effects of the menstrual cycle and the menopause, during menopause, night sweats and hot flashes (a burst of fever) often affect sleep, and estrogen can be applied to improve the symptoms under the guidance of a doctor. 2. Psychological factors: for example, anxiety disorders can cause insomnia, and the symptoms can be relieved by psychotherapy. In serious cases, benzodiazepines are needed to fight anxiety, which usually work faster, improve sleep and have less adverse effects, such as diazepam and oxazepam. It is recommended that when the organism is suffering from insomnia, it is timely to consult a doctor to identify the causes and standardize the treatment under the guidance of a doctor. Drugs should be used as prescribed by the doctor.