Warfarin is used to treat and prevent blood clots that might result in heart attack, stroke, or death. It’s also used for blood clots in atrial fibrillation, heart valve replacement, venous thrombosis, and pulmonary embolism.Tell your doctor if you have any signs or symptoms of bleeding....