On my first consulting engagement, I spent one day trying to get my program to work. My manager noticed my frustrations so he offered to help. It turned out that I was just missing a period! During my performance review, he suggested that I should learn to ask for help sooner.
In scuba diving, if you get separated from your buddy, you are trained to look for no more than one minute. If unsuccessful, you need to ascend and reconnect at the surface.
At work, you should not be afraid to ask for help sooner. It is not a sign of weakness. If you are stuck on something, set a reasonable time limit. If you are still stuck, seek assistance upon reaching your time limit. By spending one minute to ask for help, you may save yourself an entire day.