Many of us learn certain patterns when we are young. This may mean when you are upset that you reach for something to soothe or numb the pain. It is upsetting but many have addictions which they have chosen as ways to cope with problems.
The best response to poor choices is to learn how to release pain in a positive way. You may find that meditating, working out, speaking with friends or reading is better way to handle heavy emotions. This will also likely lead to a happier and more balanced inner feeling.
It is never too late to start again. This may mean finding a treatment center for your addictions. You may also have to accept and admit that there is a problem. When you begin to surrender you are going to see a shift within your life.
Most of us have gone through very hard problems and situations. It is up to us to learn and develop more appropriate responses. It sometimes is harder in the beginning but it leads to long term success.