If one of the parents used to take drugs, will the children born after detoxification have any influence?

Mother: Don't have children in the near future after detoxification. ...

If the mother takes drugs during pregnancy,

It will be harmful to children. ...

Father: There is basically no problem. ..

But it's best to detoxify for a while before having children. ....