If you've been using sleeping medicines for a while, talk to your doctor about how to quit safely. It could take months to cease taking the pills altogether. You should also avoid combining sleep aids with other sedatives or alcoholic beverages. There's a chance of suffering an overdose.