How to write confession and punishment?

Legal analysis: My name is XXX (name, gender, date of birth, ID number, address, etc. I was released on bail on suspicion of causing trouble.

On a certain day, I ... (what happened). Now I deeply realize that my behavior (how wrong, to others, to society, to myself, to my family) brings XX harm.

I have deeply realized the illegality of my behavior, I promise. ...

I hope the judiciary can give me a chance to turn over a new leaf. ...

Legal basis: Article 174th of the Criminal Procedure Law of People's Republic of China (PRC). If a criminal suspect voluntarily pleads guilty and agrees to apply sentencing suggestions and procedures, he shall sign a confession and repentance in the presence of a defender or a lawyer on duty.

If a criminal suspect pleads guilty and admits punishment, it is not necessary to sign a confession and repentance book under any of the following circumstances:

(1) The criminal suspect is a mental patient who is blind, deaf, dumb or has not completely lost the ability to recognize or control his own behavior;

(two) the legal representative or defender of the juvenile criminal suspect has any objection to the juvenile's confession and punishment;

(3) Other circumstances in which it is not necessary to sign a confession and repentance.