Law Enforcers as a Protected Class
Law enforcement officers are the public face of the law. If you want people to have more respect for law enforcement officers, the first step should be to make the laws they enforce more just and respectable. What you don't want to do is make laws that formally codify the exact suspicions of those who distrust police - that the system is unjust and protects its own, but does not treat the lives of ordinary citizens as having the same value. Police officers are just people, and violating their rights is just as wrong as violating the rights of any other person. No more, no less. Treating police officers as a special class of citizen and increasing the penalties for crimes against them is unfair (https://steemit.com/philosophy/@troglodactyl/efficiency-of-fairness), and is thus likely to backfire.

http://www.nytimes.com/live/police-shooting-in-baton-rouge/louisiana-police/
in different countries, this occurs differently
Can you explain what you mean?