Common Sleeping Pills: Ambien, Lunesta, Rozerem, and More In some cases, doctors will prescribe drugs for the treatment of insomnia. ... Rozerem (ramelteon): This is a sleep medication that works differently than the ...