Barking dogs

Esther
Hello 
If you are a dog owner, how do you keep your LO sleeping thru the barking? My son is six weeks and I have two barking dogs ... They bark at everything ! 
Do they get used to it? Or should I put the dogs in a seperate room? My LO gets startled when they bark, but doesn't always cry. 
Thanks.