Ideally, your parents will make the decisions together about who you’ll live with and how that will work.
If they can't decide themselves, they might go to a mediator for help in reaching an agreement. Or they might have to go to court and have a judge make the decisions for them.
Whether your parents make the decisions about custody and visiting rights themselves, or with the help of a mediator or a judge, your opinion should be taken into account.