With regard to the child rearing, both parties can negotiate in advance. If the negotiation fails, they can bring a lawsuit to the court. The court will make a decision based on the principle that who raises the child is more conducive to the growth of the child. If you want to raise a child, you should provide the court with evidence that your upbringing ability and conditions are better than the other party's, such as who the child has been living with, whether you have a job, housing, stable economic income, etc.