Stay out of the hospital (its one of the more common complications of being confined to a bed) stay active, don't smoke, and pick the right grandparents (risk for blood clots is partially hereditary).
Other known risk factors include looooong flights or car rides without intermittent exercise
(over 5 hours), obesity
, contraceptive use, and heart failure
. Prior clots are the biggest risk factor.