I've had periodic insomnia for years. Taking medicine can get addictive, although if it's not a common problem for you, you should be okay. Also, I agree that being active during the day is a great way to make sure you can sleep. Remember that even though it sucks to go with little or no sleep, you can get through the day, and it virtually guarantees that you'll sleep the next night.