I think you can see from the responses that what you do when you are stuck is actually pretty normal, i know that if i am stuck on how to achieve something often i will either work on something else and come back to it, or go off and make a coffee or something. I also do some of my best thinking when i am walking.

It sounds like the main thing that would help you is to plan a little more. Write down what you want to achieve and break it down in to more simple steps.

Also finally why not post some of your problems on this forum, sometime all it takes is a different perspective.