How should a school deal with pantsing?

You were talking about how being pantsed might humiliate the recipient of the pantsing. The OP asks what a school should do when someone is pantsed. So why would you bring that up if not to relate it to the question asked in the OP?