Heparin therapy can be used during pregnancy to manage certain medical conditions, such as deep vein thrombosis, pulmonary embolism, or antiphospholipid syndrome. It is considered safer than some other anticoagulants for use in pregnant individuals, as it does not cross the placenta and affect the fetus.