I quit when I got pregnant years ago (for my first 10 years ago) by just quitting. Its terrible for a baby, much worse than any withdrawal symptoms. Lollipops helped me.
my sister quit while pregnant by imaging her baby smoking. I dont know how helpful that will be for you, I would say ask your doctor, they will usually have info on how to quit or get help quitting.