An ICD is advised for those people who experience or suffer from the following conditions:
Possibly-fatal abnormal heart rhythm (or risk of it)
Genetic disorders affect the heart (Long QT syndrome, Brugada syndrome, cardiomyopathy, etc.)
Cardiac arrest
Previous heart failure
Congenital heart disease