It is possible to take a sleeping pill occasionally to improve sleep, sleeping pills are widely used in clinical practice, but the long-term application of some sleeping pills may lead to drug dependence and drug resistance. The principle of Ambien use must follow medical advice, using low doses, on-demand dosing. If patients have difficulty falling asleep, they should take drugs with a shorter half-life, which are excreted faster in the body and will not affect their work and life the next day, mainly including zolpidem tartrate. If the patient has more night wakings or wakes up earlier in the morning, take oral sleeping pills with a longer half-life, such as oral diazepam, eszopiclone, or dexrazoxane. In case of elderly people, it is safer to take dexzopiclone.