If a person pleads guilty or is found guilty at trial, the next thing that happens is a sentencing hearing. The purpose of a sentencing hearing is to determine what the appropriate outcome of a trial is. Sentencing is intended to protect society, encourage respect for the law, and keep our society safe, peaceful, and fair.