Careful planning would facilitate the delivery of the content knowledge.
However they will always be unforeseen situations which must be addressed with an assertive approach.
Knowing your students, setting clear rules, its punishments and rewards will help instructor to better handle unanticipated issues in the classroom.
What should be done when these procedures do not pay off?