If you are learning English, don't use "ain't". It is only used by people who have strong accents, or people who can't speak correctly. It is not a real word.
In the song title, "ain't" is used as slang on purpose. If you say "ain't" you will be understood but it's a lower form of speech.