When the police charge you with a violation, they will issue a ticket indicating the offence you committed as well as the date, time and location. The ticket will also indicate where and when you are to appear in court.
For some less serious offences, the ticket will indicate the amount of the fine you must pay. If you choose to plead guilty, you may pay your fine voluntarily through the mail.
You must appear in court to enter a not guilty plea. You will then have a trial date set. For any serious offences, or any Criminal Code offences, you should consult a lawyer before entering a plea.