Man, my experience has been that you can never force creativity. It just has to come back to you. So if i'm stuck on something, or maybe i'm just not inspired, i try to use that bit of time constructively and either work on learning someone else's stuff for a while or just bust out the metronome...