Hep c

So I messed up quite a bit in the past and I've been diagnosed with hep c. If I got pregnant would that hurt the baby at all? Would it even affect it?