If you take medicine to sleep, it is recommended to stop it little by little by reducing the dose gradually and not suddenly.
Benzodiazepines are extremely addictive and stopping suddenly is not advisable. This type of medication (Valium), alprazolam (Xanax), clonazepam (Klonopin), among others, are opioids from the same family as heroin and morphine and must be abandoned gradually so as not to create a shock due to the great addiction that the patient develops.
With the help of your health professional, the medication can be abandoned with a gradual reduction that lasts from 4 to 8 weeks, gradually reducing the amount (3/4 of a pill, 1/2 pill, 1/3 of a pill, 1/4, 1/8 until you finally give it up), but always working with a health professional.