Digoxin increases the force of your heart muscle contractions and slows your heart rate, making it a valuable treatment for heart failure and atrial fibrillation. It works by inhibiting the sodium-potassium ATPase enzyme, which leads to an increase in calcium in the heart muscles, enhancing heart function.