I treat SO like a technically superior colleague - if I'm stuck with something and have exhausted my other options (documentation, examples, research, SO search), then I'll phrase my question clearly, showing my progress and what I'm stuck on. This makes me look good to my colleague, and enables him to understand where I'm coming from. A lot of the time by writing out the question in full I'll be able to solve it myself by getting my thoughts organised.