A few months ago my DS (6) was riding a bike along a walking/cycle trail, a short distance away from us. We always ask him to stop every so often to let us catch up, but he knows never to go out of our sight. At one point he was waiting, stood still, straddling his bike on the left hand side of the walking trail when a family approached on the right hand side.
Their dog, which was on a lead, jumped across and knocked DS off his bike and bit his arm. Thank goodness he was wearing a coat, which cushioned the blow a bit. We didn't actually realise the dog had bitten him until the family had made a half-arsed attempt at an apology and then scooted off.
Anyway, a few months on, understandably, DS and younger sibling (4) are now terrified of dogs.
We continue to take regular walks and pass dogs. We visit friends' houses who have calm, happy dogs. We've talked about how most dogs are friendly, but that there are few irresponsible owners who allow their dogs into other people's space or don't train them properly.
What else can we do? Is there anything? Is the fear likely to ease as they get older? FWIW, getting a dog isn't an option as we are expecting a new baby soon and it wouldn't be sensible or affordable.