What needs to be done to resolve the incidents of dog attacks?

What should be done? I'm sure it isn't just me that gets tired of hearing innocent kids, other people's pets, USPS mail carriers, etc being attacked, mauled or killed by dogs. For that amount of damage it has to be done by a strong breed such as a pitbull, rottweiler or cane corso.

What can be done to live in a society where children can play outside, mail carriers can deliver their mail and others visit their friends and family without worrying about getting attacked by strong dog breeds?

Updates
+1 y
Honestly, I have a taser. If a powerful dog like that comes after me, I would have no problems tasing it and happily risk going to jail for it. I'd do that than become another victim of a dog attack.
What needs to be done to resolve the incidents of dog attacks?
Post Opinion