"Ain't" is kind of a slang in spoken English, but is not really an actual word and is even looked at as pretty sloppy and improper. I would not use it.
examples:
"I ain't trying to do..." should be "I'm not trying to do..."
"It ain't right what happened...." should be "It isn't right what happened..."