Getting pregnant and having a baby first or having the hernia surgery first?

I am 28 years old, female, married, preparing for pregnancy, thinking that hernia may affect labor and delivery, I would like to ask my doctor if I should have surgery first? Or should I have the surgery after delivery? If the surgery is done right away, how long do I need to recuperate before I can get pregnant? There is a contradiction in the order of treatment. If you operate first and then get pregnant, your hernia may recur in the future due to the increase in abdominal size during pregnancy; if you get pregnant first and then operate, your hernia may develop and even become incarcerated due to the increase in abdominal pressure during pregnancy. Therefore, for patients with small hernias, mild symptoms, occasional hernias (e.g., only a few times a month), and a low probability of incarceration (hernias can be easily retracted), it is usually recommended to get pregnant and have a baby, and to have the surgery one year after the delivery. On the other hand, if the hernia is not easily retracted, if the swelling is significant, or if the hernia is large, the patient should be operated on before becoming pregnant. After all, the need to operate on a hernia during pregnancy carries risks for both the adult and the child, with the risk of miscarriage in the early stages of the pregnancy and of preterm labor in the later stages of the pregnancy. Surgery is also recommended for more anxious patients who would otherwise be worried for ten months. Pregnancy can occur one month after surgery. Some patients are concerned about whether this is too early, but in fact this is too much to worry about, because the hernia healing period is usually three months, and the abdominal bulge after pregnancy are after five or six months, it will not affect the healing of the hernia.