You will not be as active the first few weeks after surgery, which increases your risk for blood clots. Your doctor may prescribe a medication (known generically as an anticoagulant) to prevent you from developing blood clots.