Anticoagulants are medications that are used to prevent blood clotting. They are often used to prevent blood clotting in people who are at a high risk of developing blood clots, such as people with heart disease or people who have had a blood clot in the past.