If a patient has insomnia and is taking sleeping pills, but they are not effective, it is important to seek medical attention. Because many factors can cause a patient to suffer from insomnia, the more common one in clinical practice is idiopathic insomnia. These patients may have no obvious physical or somatic organic lesions that cause the patient discomfort, and generally simply experience insomnia. For these patients, sleep improving medications can be applied for treatment. If the patient has an affective disorder, for example, the patient has anxiety or depression, because the mood is not very good, more distracted, agitated, prone to tension, fear and anxiety, the simple application of sleeping pills does not work, but also need to apply mood-regulating drugs for treatment.