Prescription medications
Taking prescription sleeping pills — such as zolpidem (Ambien), eszopiclone (Lunesta), zaleplon (Sonata) or ramelteon (Rozerem) — may help you get to sleep. Doctors generally don't recommend relying on prescription sleeping pills for more than a few weeks, but several medications are approved for long-term use.