The biggest point about finding questions with Google is the same for finding content of any sort through Google: it's all about the title.
So pick a good title that succinctly gives people an idea of what the question is about. Sometimes it can be hard thinking of a good title. I've sometimes spent some serious time thinking of a good title for things (blog posts and so on).
Compare and contrast:
- "I'm confused";
- "This doesn't work"; and
- "What do I do?"
- "I don't understand why Java isn't cleaning up my thread pool";
- "Why is this code giving me a NullPointerException?"; and
- "My Ruby page takes 10 seconds to load. How do I find out why?"
Also think about likely search terms if you were looking for this question. You will get a higher ranking for something which is an exact phrase match than with something than isn't (generally speaking).