I unfortunately have a huge addiction called masturbation. I've been trying to stop, and this ramadan, during fasting hours, I couldn't help myself and I masturbated to the point where I was about to ejaculate. It was so close, analogy being, like going to the store, and opening the door and just about to take the step in although I didn't ejaculate.
Does this break my fast or not, and if it did, what can I do?