Before having a child, men should eat a healthy diet, keep a good routine, etc. 1. Healthy diet: During the preparation period, men should eat more vegetables and fruits, dairy products, supplement a lot of nutrients, try to eat a light diet, avoid spicy and greasy food, avoid alcohol and smoking, which will reduce the sperm survival rate and sperm quality. 2. Maintain a good routine: During the preparation period, men should avoid staying up late and maintain a good mental state, which can increase the chances of pregnancy and improve the quality of sperm. Men can also exercise during the preparation period to enhance their physical fitness and immunity. Before getting pregnant, both men and women should also pay attention to maintain a happy mood, and can go to the hospital for a medical examination to improve the chances of fetal health.