If a scalpel is used to create the maze pattern, open-heart surgery is necessary. This is called the surgical maze procedure. It’s the preferred method of atrial fibrillation treatment in those who need another heart surgery, such as coronary artery bypass surgery or heart valve repair.