The present invention relates to an apparatus (10) for performing cardiopulmonary resuscitation comprising a resuscitation device configured for autonomously performing cardiopulmonary resuscitation, a stimulation device (12) configured for stimulating the endothelial function including nitric oxide synthase pathway in a patient in need thereof, and a controller for controlling the resuscitation device and/or the stimulation device.