Well, this can certainly happen with school going kids. They pick up new words and often get used to saying them without knowing their meaning. I think if the word is not very offensive then you may just ignore it when he uses it, eventually he will stop using it. However, sometimes it is very necessary to explain to the kid that using a word is not good and should never be done. I think once the kid understands that such words should not be uttered, he will stop using it. You need to tackle the issue very calmly and patiently.