Don't rely on sleeping pills.
Only you and your doctor can determine whether sleep medication is a good option for you. For occasional use, medications can be helpful, but they are not magic — it is always better to try to fix the underlying problem.
Supplements may help you get a good night's rest. Find out what works and what doesn't.