This is rather informal way of letting others know that you need to go to the bathroom. It is nicer to say, "Where it the bathroom?"
Check out this group of Chinese phrases too. You might find more useful Mandarin phrases. The current Chinese phrase "Go to toilet" appears in this group