Henry got bitten by another dog when he was just 4 months old. They were playing when all of a sudden the other dog got aggressive. Henry was bitten on the ear, and went hairing off into the distance as soon as he could get away, yelping. Luckily someone stopped him mid-pelt and scooped him up. We were as calm as we could be about it, checked him over, saw there was blood, popped him on the lead and walked him home, no fuss. Luckily it didn’t have any last affect on him - he was out bothering other dogs to play with him the same afternoon! I have tried to teach him to leave other dogs alone, but it’s not always easy.
Hopefully your little one will shake it off. If he does show signs of being a bit reactive, there’s no harm in steering clear of other dogs for a while,