Unfortunately different positions, moon phases, and what you eat, will not affect if you have a boy or a girl. They're all myths, and there's no way to pre-determine what your baby will be!
Not medical advice: It is known that the male sperm are the more active females being the slower. Old wives tells tell of men should be less active to conceive females.
There are people that claim you can get pregnant with whichever sex you want. Really it's a lie. There is no proven way to get pregnant with the desired sex.
There is nothing you can do to influence the sex of your child. There are many old wives tales but none of them are scientifically proven. In the future there may be the option to choose a boy or girl, but for now you should focus on bringing a healthy baby into the world regardless of sex.