Help! On smoking and patches.

My doctor said to use nicotine patches to quit smoking. Has anyone ever done this while pregnant. I just found out im pregnant two.days ago i wanna quit smoking its really hard. Are patches better i feel like neither could be good and is quitting cold turkey ok on baby. Im 5 weeks 5 days.