The doctor inserts a small catheter into the vein. The catheter delivers radiofrequency energy to the vein wall, causing it to heat, collapse, and seal shut. You get the procedure in an outpatient clinic or doctor's office, usually under local anesthesia.