The most effective way to deal with your child's swearing is to ignore the swearing completely. No talking, no eye contact. If the behaviour is attention seeking, this is often the best way to stop it. Your reaction will influence whether your child swears again.