If the dog suffers from non-parasitic diseases, such as canine distemper, which is rarely caused by humans and animals, you should pay attention to environmental hygiene (clean the house thoroughly with 84 or something), personal hygiene and open the window for ventilation.
Actually, it's just a point. Wash your hands thoroughly after contact, and everything will be fine!
My family also keeps dogs.
I wish you the best of health!