What kind of medication do you take for severe insomnia that prevents you from sleeping all night?

Drugs used for severe insomnia that keeps you up all night include benzodiazepine sedative-hypnotic drugs, such as diazepam, and non-benzodiazepine sedative-hypnotic drugs, such as zopiclone. 1. Benzodiazepine sedative hypnotic drugs. Representative drugs include diazepam, alprazolam and so on. Adverse effects of diazepam include drowsiness, dizziness, fatigue, etc. It is prohibited for women in pregnancy, pregnant women, etc. Adverse effects of Alprazolam include dizziness, weakness, drowsiness and other symptoms. It is contraindicated in hepatic and renal impairment, myasthenia gravis, angle-closure glaucoma, and severe chronic obstructive pulmonary disease. 2. Non-benzodiazepine sedative-hypnotic drugs. For example, zopiclone, etc. Adverse effects of zopiclone include drowsiness, bitter mouth, dry mouth, muscle weakness and other symptoms. It is contraindicated in patients who are allergic to the components of the product, respiratory insufficiency, and myasthenia gravis. The use of the drug must be carried out under the guidance of a physician, and should not be taken blindly on its own to avoid adverse reactions.