pets and baby

so we have 2 dogs and a cat in the house. one dog is a mastiff and the other is small. for all the people who have animals and babies how do u guys go around that? it’s been on my mind. the animals aren’t really around kids much