Students like to play practical jokes in extracurricular activities. What should teachers do?

Students like to play practical jokes in extracurricular activities, and teachers should give correct guidance. They can be guided to practice a student's extracurricular activities, and teachers who like pranks should guide them correctly. We can guide them to rehearse some meaningful textbook plays, so that they can enjoy the performance more and get education from it.