You are not stupid or irresponsible. You are suffering like so many of us are/were before something was done about it.
You are actually very wise regardless of your young age that you are recognising an issue and taking steps towards a better life.
Don’t be too hard on yourself and putting yourself and your recovery First is the best thing you can do.