There are different surgical techniques for retinal detachment, but the most common one is vitrectomy. During vitrectomy, the vitreous gel inside the eye is removed, and the retina is reattached using laser or cryotherapy.