Depending on the alleged offense, you may be entitled to a trial by jury. You are entitled to hear all testimony introduced against you. You have the right to cross-examine any witness who testifies against you.
You have a right to testify on your own behalf. You also have a Constitutional right not to testify. If you choose not to testify, your refusal cannot and will not be used against you in determining your guilt or innocence.
However, if you do choose to testify, the Prosecutor will have the right to cross-examine you. You may call witnesses to testify on your behalf.
You have the right to have the court issue subpoenas for witnesses to ensure their appearance at the trial.