I find it difficult because they get it from me. I can't very well tell them off for it. I do try, but it comes out every now and then. Actually DS hasn't said anything like that in quite a while, but DD has started. It's a good reminder to watch my mouth I guess.
I've tended to ignore it or redirect to a similar sounding word, also. Not sure how to handle as they get older, though.