Most people who have a cardiac device can have an active sex life. If your doctor says you can exercise and be active, then there is no reason not to have sex.
After you have the device implanted, it is advised to have the wound healed for a short time before resuming sex. If you or your partner are worried about having sex, talk with your doctor about your concerns to give you advice and support.
Many people with an ICD are worried of receiving a shock during sex. The risk of getting a shock has been shown to be the same as during any other similar level of exercise. If you get a shock during sex, it is advised to contact your doctor to discuss next steps. Of course, it is advised to inform your partner about your ICD, so that the partner knows who to contact in case of cardiac complaints or an ICD shock.
Also, some people worry that if they get shocked during sex, their partner might be hurt. But your partner will not be shocked or feel any pain if you receive an ICD shock.