You can’t plan a baby of a particular gender.
A male is made of XY chromosomes and female is made of XX chromosomes.
The woman’s egg carries the X chromosome and the male sperm carries the X or Y chromosome.
Based on which of the one in a million sperm meets the egg inside the uterus, the baby's gender is decided. So if the Y sperm meets egg - you will have a boy. If the X sperm meets egg you will have a girl.
We cannot control which sperm meets the egg, so we can’t control the gender of the baby.
Just try for a healthy baby!