This is a behavior contract I use with students for a first offense in the classroom. I have students admit the inappropriate behavior, determine what they can do to avoid the behavior in the future, and acknowledge what the next step will be if they cannot fix the behavior. I use this tool to facilitate a conversation with the student before taking any more severe measures or involving anyone from outside the classroom. This helps build trust between teacher and student.
I keep the behavior contract and file it behind a "Behavior Log Form" page that I create for that student (see other resources on my page for this form). This maintains a paper trail in case further disciplinary action ever needs to be taken.