Nicotine patches

Has anyone used nicotine patches while pregnant to give up smoking? Or what did you use to give up?