If I get stuck, I look at a book that tells me how someone else did it. I turn the pages, and then I say, 'Oh, I forgot that bit,' then close the book and carry on. Finally, after you've figured out how to do it, you read how they did it and find out how dumb your solution is and how much more clever and efficient theirs is!