I'd recommend having a read around some insomnia sites/books that have a good rep. If you have trouble falling asleep occasionally it's fairly normal but on a regular basis it's no fun (which I'm sure you know). Is there something that could be bothering you? Stress can do horrible things to your sleep patterns and if that's the case, if possible try to resolve that. Meditation can be a big help, it's worthwhile learning. If you are using your bed as a an area to read/write stuff for work, I'd probably drop that as well and move it to a desk somewhere else. I'd probably stay away from suger and chocolate before bed personally, neither the caffine or suger is likely to be particularly conductive to you getting to sleep. Just a few suggestions hope there's something there that helps