Sometimes people who are splitting up have to go to court to have a judge make decisions for them, because they aren't able to reach an agreement themselves.
Children and teens don't have to go to court. However, someone who works for the court might meet with you to find out what is best for you.
The court process can take a long time. Your parents may have to wait a long time for a court date, and they may have to go back to court several times, with a long wait each time. It won't happen overnight.