There are many types of sleeping pills, which must be prescribed by a professional doctor and are available for purchase in limited quantities, and must generally be seen in a hospital, and cannot be bought in a pharmacy, and they also need to be taken under the supervision of a family member to avoid serious consequences from overdose. In the case of poor sleep, it is advisable to take the medication under the guidance of a doctor. There are differences in the drugs chosen for different types of insomnia states. If it is a sleep disorder, you can generally choose short-acting sleeping drugs, such as zopiclone; if it is a sleep disorder with early awakening, you can choose some medium- and long-acting sleeping drugs, such as alprazolam, zolpidem and so on. Usually, you should also pay attention to develop good sleep habits, relieve tension, and drink a glass of hot milk at night, which can also help you sleep.