Having sexual intercourse at 39 weeks of pregnancy may lead to preterm birth, but at this stage, the fetus is already mature and generally, it won't affect the fetus's health. Pregnancy at 39 weeks has entered the late stage, and sexual intercourse may cause uterine contractions leading to preterm birth. However, since the fetus is mature at 39 weeks, even if it's preterm, it usually doesn't pose a risk to the fetus. Sexual intercourse at 39 weeks of pregnancy is strictly prohibited because many pregnant women experience severe edema in their hands and feet, making it difficult to move, and some have already started preparing for labor. Therefore, sexual intercourse is generally not recommended during the first and last three months of pregnancy. Sexual intercourse in the first three months can easily cause miscarriage, and in the last three months, it can lead to preterm birth. At 39 weeks of pregnancy, it is important to count fetal movements to understand the fetus's preliminary condition in the uterus, three times a day: once in the morning, once at noon, and once in the evening. If frequent fetal movements or a decrease in fetal movements are observed, the fetus may be hypoxic in the uterus. In this case, it is necessary to visit the hospital for examination and follow the doctor's instructions.