I feel so bad

I just found out I’m six weeks pregnant and I have been smoking. I will quit but I’m so nervous I hurt the baby??☹️☹️