Every medication has a risk to take while taking certain drugs, it could be fatal and also lead to serious problems that could be permanent or temporary. Side effects of taking sleeping pills may result in withdrawal-like symptoms such as nausea, headache, groggy feeling, and weakness.