When people think about divorces, most don't think they'll end up at a trial. For the most part, it's possible to avoid going to trial if both parties agree to their settlement arrangements and child custody issues. However, in contentious divorces, it's less likely that a couple can come to a fair agreement. In that case, both people will likely need to go to court for a divorce trial.
The only time people usually end up in court is if they can't agree. When that happens, you need an attorney who is familiar with the trial process for divorces. He or she will need to file a motion to seek assistance from a judge. A court hearing is then scheduled and the judge listens to each side's arguments.