Smoking during pregnancy

Mommas who've smoked weed during their pregnancy, what does the Dr do after birth if baby tests + for it? If it wasn't for smoking my baby wouldn't be growing due to not eating or having an appetite. I'm due next month and just want to know some tips or anything that would help. -from Oklahoma