To be in a court where a judge or jury decides if you did a crime.
He will stand trial for the robbery next month.