DBS surgery typically involves two stages: 1. Electrode Placement: Using imaging techniques like MRI or CT scans, the neurosurgeon identifies the target brain area and implants the electrodes. 2. Pulse Generator Implantation: The pulse generator is implanted under the skin in the chest, and the electrodes are connected to it via subcutaneous wires.