Dealing with an undesirable behavior with a teaching model: Best done in private.
Calmly describe the inappropriate behavior and describe what they could have done differently:
“Michael you did not clean the area correctly, the you were instructed too. You were supposed to do X instead of Z.”
Give a proper follow up task or corrective action:
“Because you did not follow instructions you will need to clean this area again.”
Often this is a logical task, a natural outcome/resolution to the problem.
Confirm with the student to ensure they understand:
“Just to confirm, do you understand what you could have done differently?.”