How can Buddhism help with bad habits? I have been suffering with addictions. Addictions are complex. Both that I suffer from are in abatement. I am in recovery as they say. I am getting medical support.
Besides the addiction I have bad habits in relation to being abusive to people when angry. Verbally abusive. Textually abusive.

I realise the self is false but it's very hard to shake it off. Before I know it I'm operating from an ego state. Any advice?
My first Buddhist teacher was extremely helpful with this. Basically, he explained that all these problems come from attachments. "Ego" is just a name for a tangle of attachments. Someone says something that goes against your attachment and you get triggered. You think "this is right, this is the way its supposed to be - and what they did is wrong". That "supposed to be" is the attachment. They are like mind worms, you should get rid of them. If you start now, in five years you will have none. Just don't get angry at people who still have attachments, because that's an attachment too. Makes sense?

It's called "attachment" because you think this is the only right way it should be - but in reality it's not the only way. Nothing in the world has to be one way. Letting go of attachments involves catching yourself getting triggered, identifying the attachment, and then expanding your perspective to include other possibilities. This process goes deep, very very deep - until you completely lose all shape, any ground under your feet - so it's is not for the faint of heart. Following this path is like a robot disassembling itself, piece by piece - until there is nothing left. That "nothing" is freedom.

Attachments are the real issue. Addictions are secondary, just a side effect.

What's kinda interesting and cool is that reality you find yourself in is always the reverse projection of your hidden attachments. It's really amazing. The circumstances and the overall mood of the situations that you get in, is a reflection of your attachments. So the more you hold on to them, the worse it gets - and as you let go, a different reality is assembled around you.