Blood thinners during pregnancy

Has anyone used heparin or lovenox during pregnancy. How bad is it. Is it bad. Do you think it helped