After surgery, the risk of a blood clot in the leg is higher because of the operation and because the patient often stays in bed.