When stuck, ask for help ASAP

If you get stuck in to a problem, ask for help as soon as possible. As a rule of thumb, 30 minutes is good, more than 1 hour is probably to long.

You don’t need to even talk to anyone, you can try formulating your question and that is likely to help you finding an answer to your question. So, if it’s taking too long, stop and ask for help.

This is part of Tips for Software Engineers

This post from Daniel Roy Greenfeld reminded me of this rule.