A veterinary expert has said there's a counter-intuitive thing people can do if their dog is attacked by a dangerous canine.