Depending on the situation, "ain't" is a just like "isn't," "am not," "are not," and even "will not" etc.
Like in the song "Ain't goin' down to the well" (by Tom Waits and others), it simply means "I am not going down to the well." It's basically slang, depending on your definition of slang.
It used to be part of Australian English (Henry Lawson used it), but then became uncommon, although you do hear people use it now. It would seem to be common in American English, judging from movies and TV.