if drugs are not able to control a persistent irregular heart rhythm (such as atrial fibrillation) cardioversion may be required. after administration of a short-acting anesthesia an electrical shock is delivered to your chest wall that synchronizes the heart and allows the normal rhythm to restart.
what is electrical cardioversion?