Standard firearms training. Shoot to stop the threat.
You put as many center mass rounds into the attacker as it takes for them to go down.
And reload if necessary.
Mozambique drill, two to the center of mass then one to the CNS ( neck or head shot) practice this with rapid draw from your concealment holster till it is muscle memory and automatic when you draw the weapon. If my weapon comes out It is going off at least three times on auto pilot my body just knows that’s what happens when you draw the weapon