This medication is used to treat heart problems, including irregular heartbeat or congestive heart failure.