The one thing I always try to do is be in a creative state of mind when I compose. It seems that the ideas flow better if you are working on it on an ongoing basis. For a lot of my instrumental tunes, I sometimes get a mental picture of something in my head, and then ask myself what music goes with this scene. This is much like scoring for film--except the film is in my head!