The sex of the fetus is determined by the sex chromosomes, there is no such thing as how to get pregnant with a girl, it is recommended that pregnant women should pay attention to adjusting their living habits and eat more nutritious food. The sex of the fetus is determined by the sex chromosomes. If the sperm carrying the X chromosome and the egg combine to form a fertilized egg, the sex chromosomes of the fertilized egg are usually in XX, at which point the fertilized egg will develop into a female embryo. If the Y chromosome of the sperm and the egg combined to form a sex chromosome containing XY, then the fertilized egg will develop into a male embryo, so a boy or a girl is determined by the sex chromosome of the fertilized egg, can not be changed through human intervention. Pregnant women should eat more food rich in protein during pregnancy, such as eggs, pork lean meat, soy products, milk and so on. It is also necessary to properly supplement shrimp, fish, pork liver, oats, walnuts, peanuts and other foods, eat more fresh vegetables and fruits, to ensure that the intake of food nutritionally balanced, to avoid a single nutrition. During pregnancy, pay attention to more rest, at the same time should relax, avoid tension, anxiety, any discomfort should be timely to the hospital, by the doctor to clarify the diagnosis, and cooperate with the doctor to deal with the symptoms.