Smoking?

Please no judgement, if I found out I was pregnant I'd quit straight away but usually by the time someone finds out they are around 3-5 weeks. Will the baby be okay? I'm not trying but also like not preventing it, just whatever happens happens if you get what I mean