Following your release the court process starts even before the first court appearance. The criminal lawyer will request disclosure which involves prosecution providing all relevant pieces of evidence and information regarding the case to defence.
After that, there is a Crown Pre-Trial (CPT) whereby the defence lawyer meets with prosecutors to discuss details of the case, possible solutions or trial issues. This is then followed by Judicial Pre-Trial (JPT), which entails a judge discussing similar issues as well as giving his/her input on the case.
Lastly is the trial or resolution. Here, depending on circumstances and discussions had during pre-trial phases, it could either end up going for a trial where evidence will be presented, and judgment passed or the matter will be resolved through other mechanisms such as withdrawal of charges or other form of resolution.