The way of taking Ambien is before you go to bed. Ambien sleeping pills are effective anti-insomnia medications that only take a little time to show results. Since its effects don't take long, it's better to take it when you're ready to sleep because of its immediate impact. It is not advisable to use it when you are about to undergo a physical or mental task because its effects may inhibit the full functionality of the body system. Taking Ambien can be addictive and habit-forming, you should ensure that it is ingested by a doctor's prescription and should not be taken for more than two weeks.