Talk to your doctor. In general, quitting smoking is associated with improvement in depression and anxiety, but not everyone is the same. If you have a history of depression, you may temporarily feel more depressed when you quit.
If you need help now, call the Suicide Prevention Hotline at 1 (800) 273-8255 to speak with a professional and get access to resources in your own community.
Medical review: Nathan Cobb, MD, November 06, 2017