You shouldn’t be afraid of the dogs on the Camino. You will most likely hear dogs bark most days while walking. Having a dog in the yard is very normal, at least in Galicia. 99% of them are closed in or tied up. Some time (one or two times in a 30 days camino) the smaller dogs run loose, and they may come over and smell you and then just move on. They don’t attack, just stay calm.
If you are really nervous about them, just bring a simple stick, dog whistles or pepper spray with you.