The best thing to do if you are walking is to hold them firmly (without confining) at a safe distance from your body, tied on a short leash if necessary.
On Thursday, Cumberland County Society for the Prevention of Cruelty to Animals agents responded to an apartment in Millville that had two dogs tied with shortleashes to a filthy set of steps in the back of the house.