One of my out and back gravel rides has one house with a small yappy dog that chases me coming and going. I know the guy who owns it. It's never got close enough to bite so I just ignore it. Another house has two larger dogs that are outside of their fence every other ride or so. I've stopped, kept the bike between me and them. They eventually lose interest. I carry pepper spray but am reluctant to use it. I've never seen another cyclist in the area and have some concerns about retaliation from the owner. Plus I really don't want to harm the dogs unless it's necessary.