If you live with a cat and a dog, it is much easier to train a dog to be afraid to walk past a cat or be with a cat. You can also train your cat not to be afraid of the house dog. You can have daily sessions with your cat and dog together; you are with them, make them be near, and try to make them interact. If you do not have a cat with your dog in the house, you may see if you have a friend with a cat who will help you train your dog to be in the presence of a cat.