‘If’ is for children.
Your question is just as easily asked, “What were you going to do if she got pregnant just as you were coming to the conclusion that she was insufferable after you were married?”
“If” is for people who assess risks.
People need to do much better at getting their heads together before their bodies.