|Take 15 minutes to solve the problem|
The rule is this: if you get stuck on a problem, spend 15 minutes trying to figure out the solution. Google it, Read The Manual, check out online forums - whatever works.
But, if you still can't figure it out after 15 minutes, ask for help. Someone next to you might be able to solve the problem quickly and simply, so you don't want to spend a lot of time trying to fix a problem that has already been solved.