Early pregnancy and drugs and alcohol

Ofc now that I know I’m pregnant I won’t be doing those things again. I’m 5 weeks. Will my baby be ok ? I’ll be seeing a doc soon ofc. Just asking for my nerves. TIA