If you are trying to quit smoking, the first thing I would suggest is to create a support system. This can include some trusted friends, a certain song to listen to, even motivating messages when you're not having a good day.
This is one of many things that can help someone to quit smoking
developing a disorder seek out situations that are likely to ( Trigger) the onset of the disorder. This is the argument behind the gene environment correlation model, also known as the reciprocal gene environment model.