Can DVT be prevented?

Preventing a clot and treating a clot are different questions, and search results around Tinley Park tend to blend them. This page answers only the first.
The answer first
my.clevelandclinic.org writes, "You can prevent deep vein thrombosis from happening (or repeating) in these ways: Exercise your calf muscles if you need to sit still for a long time." The sentence covers a first clot and a repeat clot in the same breath, and it names one specific habit as its example.
Prevention beside treatment
For the condition itself, read the deep vein thrombosis overview and the venous disease overview. For the treatment side, the NHLBI treatment page on venous thromboembolism sits under a different heading, which makes the prevention-versus-treatment split easy to see.
The follow-up to ask next
A clot in a leg vein leads many readers to ask about the lung. Whether a pulmonary embolism can be prevented is the next comparison on this site.