Digoxin is a type of drug called a cardiac glycoside. Their function is to slow your heart rate down and improve the filling of your ventricles (two of the chambers of the heart) with blood . For people with atrial fibrillation, where the heart beats irregularly, a different volume of blood is pumped out each time.