If it's serious:
The dog can be muzzled
A warning sign could be posted on the owners property
The dog may be microchipped
Dog must receive obendiance training
But the dog is never killed(Unless you live in particulary rural areas where the law's grip is loose) and in some places, the victim can be found criminally responsible