text: Show them what a cool teacher you are!  Get them to look past it.  If that won't work, and if you have to....Write stuff on the board, hand them out papers and let them do it on their own.  Don't teach, If they don't understand it, it's their problem.  That will teach them a lesson to not mess with the teacher.  Or you could write them up, or send them to the principals.