Because Koreans often omit some word in their sentences, I can't be sure what it exactly means.
It can mean "how can I get to the school", but it also can mean "How do you go to school" or "How should I go to School".
It depends on what the asker wants to ask and what you and the asker talk about.