Will I get shocked from having sex?

No. You shouldn't. An ICD should only deliver a shock if your heart is beating very fast and irregularly. Sex is just another activity from the heart's perspective. If you do receive a shock while having sex, have your doctor check your device to determine if it was appropriate therapy, or if your ICD settings need to be adjusted.