Your parents will probably see people called solicitors
These are people who are trained to help them make decisions about how you all will live.
They will agree these things and then they may get a divorce. This is a piece of paper to say that they will no longer live together and that their marriage is ended but they are still yur parents forever.
They will normally decide who you will live with and how many times you can see the parent who lives somewhere else.
Sometimes a judge decides
If they can't decide what to do, they may let a judge at court help them choose what is best for the family.
If they can't decide on where you live or when you see the parent who moves out, the judge will decide.
You may be asked to answer some questions and there's no need to be afraid.
Just tell the truth.
Always tell the truth.