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