Atrial fibrillation (AFib) is an irregular heart rhythm that can occur for the first time after heart bypass surgery. AFib will usually resolve by itself following surgery but may require treatment.