A judge determines how to sentence a defendant at a sentencing hearing. A sentencing hearing is a court proceeding in which a judge imposes penalties upon a defendant who has been convicted of a crime.