If you plead guilty, the court will proceed to sentencing, where the magistrate or judge will consider the facts of the case, your criminal history (if any) and any mitigating factors before determining the appropriate penalty.
If you plead not guilty, the case will proceed to a defended hearing or trial, where the prosecution must prove your guilt beyond a reasonable doubt.