Train your dog to be polite to strangers using effective techniques such as positive reinforcement and desensitization.