Plans fail and we quickly learn to adapt which is a great skill to have. Get a malfunction under the clock vs induced by an instructor who talks you through it. Etc.
I agree with Gun Fu there is no preparing for this stuff but the only constant variable is gun handling and making the gun an extension of your finger. For me I pick up a gun like its a pencil and am still working on things each time I practice but it sure is comforting knowing my around a firearm, especially one I carry.
Now my glock is in the safe and my S&W 640 is here ready to go for tonight's house party. Much easier to deal with in those situations.