The procedure involves placing a strong suture around the cervix to keep it closed. It is done under either general or regional anesthesia, such as spinal or epidural anesthesia. There are different techniques for inserting the cerclage, including the McDonald technique and the Shirodkar technique. The choice of technique depends on the physician's preference and the patient's specific circumstances.