How should insomnia be treated?

  Patient: Hello. I am a junior high school student. I often have insomnia and sometimes take sleeping pills that don’t work. I have tried to commit suicide, but I was saved. After that, I would cut myself with a knife and bite myself only when I encountered something sad and upset. This has been going on for a year or two. I have not been to treatment. What should I do? What should I do if it is really a mental illness?  The first thing you need to do is to get a good idea of what you’re doing. For anyone is a painful thing, if to pay too much attention to the pain of insomnia or worry about the recurrence of insomnia, often easy to form stubborn insomnia. 4.As for the treatment of insomnia, there are two aspects of medication and psychotherapy, at present most people are more worried about the side effects of drugs, especially the side effects of sleeping drugs (dependence and addiction), which is understandable, but people tend to obviously exaggerate the harm. The effect is not good because the patient often has obvious anxiety or depression, we add anti-anxiety and anti-depressant drugs to the treatment, so the effect is better. 6, psychotherapy should not be ignored, at present, psychotherapy can also choose many methods, commonly used cognitive behavioral therapy, etc.