The most effective way to protect your dog from diseases caused by infectious viruses and bacteria is by getting them vaccinated.