If you do not have a lawyer and you, your family or a friend think you need the help of one, you should contact one BEFORE going to court.
The judge may set your trial for another day (continuance), but only for a good reason.
You have the right to bring witnesses to the trial. If you need the court to help you bring witnesses, the court will give them subpoenas to tell them they must come to court for you.
If you want a jury, you may ask for one; the judge will tell you if the law allows it in your case.
The prosecutor may bring witnesses to tell what they saw and heard. You or your lawyer may ask them questions. The prosecutor has the right to ask your witnesses questions and, if you testify, to ask you questions. (You don`t have to testify if you don`t want to.)
If the judge decides that you are not guilty, the trial is over, and you may leave.
If the judge decides that you are guilty, the judge will tell you what the penalty is and what then to do.