The treatment usually takes one to three hours. Following that, you'll be hospitalized for at least 24 hours for recuperation and monitoring. Within four to six weeks, you should be completely recovered. Under general anesthesia, a doctor can also surgically implant an ICD.