It is advisable not to take any drugs during pregnancy
unless very much needed.
As you have already taken itg during pregnancy, only thing that can be avoided now is further exposure of baby to drug as you must be breast feeding. As baby is already 6 months old she can weaned off from breast milk and started on regular diet and cows milk. If its possible to stop your drug than that would be best option.