Digoxin is a medication used to treat various heart conditions. Most frequently it is used for atrial fibrillation, atrial flutter, and heart failure. It is taken by mouth or by injection into a vein. Common side effects include breast enlargement with other side effects generally due to an excessive dose.