More than 3 shocks is called rhythmic storm.
If appropriate shocks, putting the patient in the ICU, sedation and discuss the attitude with the cardiologist.
If inappropriate shocks apply a magnet to the device and monitor the patient. Call the cardiologist to examine the device.