Medications for atrial fibrillation (AF or AFib) Medications are often prescribed to prevent and treat blood clots which can lead to a stroke. Additional drugs may be prescribed to control heart rate and rhythm in the AFib patient.