Being overweight, sedentary, drinking too much alcohol and sleep apnea can lead to atrial fibrillation.