Scared to have a baby

I want to have a baby, but I had a blood clot the past year and if I were pergant I would have to be on blood thinners, and I don't know if that's going to hurt the baby.