There are many types of sleeping pills in clinical application, the most common ones are eszopiclone, alprazolam, zolpidem tartrate, and dexrazopiclone. Different medications are chosen for different patients, so for sleeping pills, the effectiveness depends mainly on the clinical performance of the patient and whether there is a combination of related diseases. Patients with difficulty sleeping are recommended to take short-acting drugs such as zolpidem tartrate and dexrazopiclone, which have a rapid onset of action and can induce sleep rapidly, thus shortening the sleep cycle. Patients with sleep disorders who wake up easily in the second half of the night are recommended to take medium-acting drugs, such as eszopiclone and alprazolam, which can prolong the sleep cycle and thus reduce the clinical manifestations of waking up easily in the second half of the night.