Took something I shouldn’t

So this is very shameful but hoping I can get some words of encouragement. Found out I was pregnant 15 weeks and before that literally weekend before I took cocaine I’m fucking terrified my baby is now dead! I only done it once maybe less than a gram I did t know will my baby die I’m on anonymous as don’t want judgment. Feel guilty as fuck and like a shit mum