As educators, we should also make sure that our first line of defense is to look at our teaching practices to see if there is something we can do differently instead of always expecting the child to be the one to change.
Students misbehave. They just do. They should not be expected to be perfect day in and day out. Whether we like to admit it or not, there are many adults who misbehave...and break the same rules we expect students to follow. Perhaps they have sidebars in meetings or use their cell phones to text when we know that they would berate their students for doing the same thing.
Children make mistakes and have bad behavior from time to time. It may be due to their home life, a medial issue or a social-emotional issue. It may also just be due to the fact that they are young and don't know any better. When it happens at school, it can be used as a learning lesson or they can be disciplined in an effort to make sure it never happens again. That sort of punishment happens a lot.