In general surgery for any kind of detachment can be done in two ways. In one surgery is done from outside of the eye is called a buckle. It is a form of surgery where the detached retina is supported from outside.
Second form of surgery is where, one goes inside the eye and operate and called a vitrectomy.