Lots of harm
If heroin is injected, all the infections and impurities it carries can affect both mom and baby.
Chronic heroin use causes the baby to become dependent, and after delivery the baby will have a neonatal abstinence syndrome (nas) which may require many weeks, or even months to treat. It is very bad for mom, and what is bad for mom is bad for baby. If this is you, find help. Talk to your ob.