Here's just my experience:
Melatonin: 10-15mg slow-release 30 minutes before bed time lets me sleep through the night, feel great the next morning and is dirt cheap, not to mention easily available without an Rx. I add some 5HTP if the 10mg is not enough. Make sure you're in the darkest your bedroom can be and your head is actually on the pillow as soon as possible after taking this.
Doxylamine: 25mg every so often when I have a lot on my mind and can't sleep. I usually feel kind of punch-drunk the next morning if I take it with less than 6 hours of sleep. I can't take it before an exam or I won't make it through the whole thing. It's also cheap and available without an Rx.
Binaural Beats: There are many you can buy or download, but the key is to train your ears and brain to actually respond to them and this takes time and being totally focused on the sound doing its work. Some free stuff is available at the following link to sample, just make sure it's loud enough to hear well but no louder. This really, really works once you've got yourself trained.
http://healingbeats.com/play.html
Ambien: Post a few video cameras around the house because you won't believe you did what your roommates said you did. Two hours after I take this and on a regular basis, I will be up teaching histology to my pet, deep-frying a hearty Caesar Salad for myself then almost drive to a large body of water to eat it next to in my boxers. It's for this reason and possible retro and anterograde amnesia (the last thing a med student needs) that it is called a hypnotic drug and needs an Rx. It is about $20 at the pharmacy if you're absolutely desperate. I'm usually still drunk the next morning, and fairly unproductive for the day.
Lunesta: A great bet if you have really good insurance as it's still pretty expensive and keeps me asleep for most of the night and I feel great the next day. I do have to be careful that I have more than 6 hours to sleep and it's good for those occasional sleepless nights, even before an exam if I time it right.
Again, I'm just giving my experience; you'll have to hit Lexi-Comp and UpToDate if you want actual prescribing information. Definitely stay away from the heart medications without a doctor involved to titrate and monitor your progress.
Good night!
😴