Surrender refers to voluntarily surrendering to the public security organs, voluntarily confessing one's criminal behavior and being willing to accept criminal punishment.
The law stipulates that surrender should be given a lighter punishment.
You can hire a lawyer to defend you during the trial.