Keep your dog healthy. Have your dog vaccinated against rabies and preventable infectious diseases. Parasite control is important to how your dog feels and behaves. Neuter your pet. It's a fact.
Neutered dogs are less likely to bite.
Be a responsible pet owner. License your dog with community as required. Obey leash laws. Know your dog. You naturally would be alert to signs of illness, but you must also watch for signs your dog is uncomfortable or feeling aggressive.