Was reading reviews for trazodone, and some people say that there is "window" of when you must take it regarding insomnia. Not currently taking any medication besides this, but may start sertraline soon. If you have trouble staying asleep, do you take it 30 minutes before sleeping? Or do you take it as soon as you start getting sleepy, then hit the lights off to fall/stay asleep?