Drugs and just found out Pregnant

I'm 21 and just found out I am pregnant, possibly by 4 weeks. I just did cocaine for a birthday turn up. Is the baby okay? Could the baby have birth defects, or a miscarriage? I would have never done it if I knew. And I'm really scared now because I pray to have a healthy baby. Please don't judge. It was just for fun.