Atrial fibrillation, or AFib, is the most common type of arrhythmia. An arrhythmia is a problem with the speed or rhythm of the heartbeat.