Use of rate control medication before cardioversion of recent-onset atrial fibrillation or flutter in the emergency department is associated with reduced success rates.