 [ Symptoms ] what is heart surgery [ Disease ] heart surgery may be needed to correct heart disease that may be causing the arrhythmia the maze procedure is a type of surgery used to correct atrial fibrillation during this procedure a series or maze of incisions are made in the right and left atria to confine the electrical impulses to defined pathways some people may require a pacemaker after this procedure