This is where a bail, the defendant stating if he is innocent or Guilty, etc. This is where the constitutional right to understand your charges you're being faced with, you're accuser, ultimately a Judge would be set, for the case.
As far as I know, the only way to remove a state judge is impeachment by the state legislature. Remember, this is as far as I know but I'm pretty sure it is correct.