You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is G3 with previous second trimester abortion presents with 22 week of gestation, abdominal pain, USG shows funneling of internal os. What is the ideal management? and explain in detail?
Patient presenting at 22 weeks with:

Funnelling of cervix on ultrasound examination and history of second trimester abortions indicating cervical incompetence as the cause of preterm labor. In this case Mc Donald stitch will be the ideal treatment as it will prevent preterm labor.