As any criminologist can tell you, prevention is better than punishment. The safest thing for both species is to keep them apart. Don’t let bears learn to associate humans with easy meals. Require that people in bear country secure their garbage. Tell them to stop feeding birds and leaving dogfood on the porch.