How did you stop? And are you going to be honest with your kids about it one day?
I kept stopping and starting again, but each time I stopped I was more and more desperate for it to be permanent. However cocaine is a very insidious addiction and I'll describe it as being like trying to fight a war when your footsoldiers keep defecting to the other side.
Eventually I used a method called Rational Recovery which can be used for all sorts of addictions, and basically involved making a vow not to use again and then identifying any thoughts that suggest further use/cravings/desire to use again as coming from the addict part of you, that you learn to master using the techniques of the approach. So you basically learn to say 'I don't want it, it's the addict part of me that wants it, which I have control over'.
The first time I learned about this approach I wasn't really ready to stop forever, I still wanted to use now and then which as we all know doesn't really work if you're truly addicted.
Eventually I realised that I had to accept I could use no more, and it's strange I went through a period of feeling like I was mourning the loss of the addiction, like the addict part of me was dying and grieving (!), but I knew that was the price to pay for my freedom and it was a price worth paying.
It really does feel like you have someone (addict part of you) living in your head when you are properly addicted, controlling your thoughts and organising your actions to direct you to use.... it's like you have a relationship with that person. It very much felt like ending a relationship that's gone sour/abusive but it's hard to let go as there have been a lot of good times and it was all sweet in the beginning.