If a defendant believes their trial was not held according to law, which type of court would they go to?

The defendant would go to an appellate court to appeal the decision of the trial court. Appellate courts review cases to determine if there were any errors of law or legal procedures in the trial court’s decision.