Antiplatelet agents such as aspirin and clopidogrel work by preventing platelet activation and aggregation to reduce clot formation. Anticoagulants like heparin and warfarin slow down the clotting process by inhibiting coagulation factors. These drugs are used to prevent conditions caused by clots such as heart attacks, strokes, and deep vein thrombosis. Common side effects include bleeding and gastrointestinal issues. The choice of antiplatelet or anticoagulant depends on the medical condition being treated.