During the procedure
Usually, the procedure to implant an ICD can be performed with numbing medication and a sedative that relaxes you but allows you to remain aware of your surroundings. In some cases, general anesthesia, which puts you to sleep, may be used.
The procedure usually takes a few hours. During surgery, one or more flexible, insulated wires (leads) are inserted into veins near your collarbone and guided, with the help of X-ray images, to your heart. The ends of the leads are secured to your heart, while the other ends are attached to the generator, which is usually implanted under the skin beneath your collarbone.
Once the ICD is in place, your doctor will test it and program it for your heart rhythm problem. Testing the ICD might require speeding up your heart and then shocking it back into normal rhythm.
After the procedure
You'll stay in the hospital one or two days, and the ICD might be tested once more before you're discharged. Additional testing of your ICD usually doesn't require surgery.
Treating pain after your procedure
After surgery, you may have some pain in the incision area, which can remain swollen and tender for a few days or weeks. Your doctor might prescribe pain medication. As your pain lessens, you can take nonaspirin pain relievers, such as acetaminophen (Tylenol, others) or ibuprofen (Advil, Motrin IB, others).
Unless your doctor instructs you to do so, don't take pain medication containing aspirin because it can increase bleeding risk.
When you're released from the hospital, you'll need to arrange for a ride home because you won't be able to drive for at least a week.