Like other forms of meditation, don't expect it to work for you on the first try.
Here I am taking a ten minute nap in a closet.
I've got a red LED bicycle flasher resting on my right eye.
It's flashing at about 6.5 times a second.
I'm wearing my jackhammer headphones to block out distracting noises and so people won't expect me to answer them if they talk to me.
The flasher is acting as a simple "mind machine" a.k.a. "light and sound machine", which are devices that help a person control their brainwave activity. http://en.wikipedia.org/wiki/Mind_machine
Biofeedback and meditation are other methods of achieving the similar results. Once you've reached a very relaxed state, the body and brain can do some of their recovery functions faster than sleep.
A typical mindmachine is a device with goggles containing flashing lights and headphones that play a throbbing sound. They exploit a phenomenon called "entrainment". The brain's electrical activity seen on an EEG(electroencephalograph) is pretty noisy and fuzzy, but there are discernable periodic fluctuations "brainwaves". If the flashing frequency is near the brainwave frequency, the brainwave will speed up or slow down to match the frequency of the flashing. Then when you speed up or slow down the flashing, the brainwave will also tend to speed up or slow down to match.
A crackpot friend of mine had a bunch of these things. They're fun to play with and you see nifty visual patterns and colors that aren't in the lights . At some point I "got it" and had a session that was like a really great nap but better. So I bought my own machine.
When I was too tired or anxious to get anything done, I'd sneak off to a closet and do a session.
Then my device broke when I needed a supernap. So I looked around for something that flashed in the same way. I had a bunch of different bike flashers and tried putting them on my eyes to see if anything happened. One of them in particular worked well. When I put it on my right eye and looked into the static I could see patterns. I already knew what it felt like, so it was easy to get there. It doesn't change frequency, but it's slower than my brain when I need to use it, so it's sort of like training wheels for meditation.
When I started doing this I was working pretty hard and getting burned out. I tried a bunch of stuff, some of which worked for me. One such thing was Melatonin. To find out how I use Melatonin to improve my sleep, see the next step.