This can be quite a challenge, and very difficult to train for. In most police departments, firearm training is common, and officers regularly practice shooting to improve their accuracy and speed. However, simple marksmanship training at the range isn't enough. It does make officers a better shot but does nothing to hone their decision-making and situational awareness skills, which are equally important in a shootout.
In recent years, there have been many scenarios where police officers have used their weapons preemptively and caused unnecessary deaths or injuries. In many cases, police officers, especially inexperienced ones, can feel nervous in "Use of Force" Scenarios. In such situations, instincts take over, and when the only thing an officer has trained is marksmanship, they are going to shoot first and think later.
This is not acceptable, it is important to note that if a police officer, who is trained to deal with dangerous situations can get nervous, how can you expect a civilian, who has a gun pointed at their face, to stay calm. In such a situation, a civilian may react in a way that startles the police officer, and they may squeeze the trigger, resulting in a crisis that would have been avoidable.
The problem is that officers are trained, but not properly. Officers train their marksmanship skills and take separate classes and courses to learn about
de-escalation, lawful use of force, civilian rights, and ethical policing, however, there is no training exercise that could combine them all, and present a realistic training environment.