When you are stuck, explain your problem to others. Often simply laying out a problem will present a solution. Make “explaining the problem” part of your troubleshooting process.
Just having things written down for other people to understand clarifies most of the confusion. Related to the Illusion of explanatory depth (IOED), we often realize what we truly know and what's missing until we have to explain it to others.