It's probably not the case that you're facing challenges anytime you work. That's an unfair generalization that you're holding against yourself. What about the times when the work you're doing is completely within your domain of capabilities?
I keep an editor open and maintain a journal of my thoughts while working. Journaling helps me organize my to-do's, questions and concerns, and keep an index of reference material. A journal helps keep me focused.