If you deny the charges against you and believe you are not guilty your case may go to trial.
If you successfully defend yourself against the charges you will be acquitted however if you do not win you will be sentenced. It is important to consult with an experienced defence lawyer before you enter your plea to ask about your prospects for winning at trial.
This is because if you enter an early guilty plea you will have the benefit of a sentencing discount so your decision to go to trial carries some risks.
If you plead not guilty and go to trial there will be a number of court hearings leading up to trial.
At trial the prosecution and the defence each put their case before the court and witnesses will be called. There may be forensic evidence and experts may be called.