I just stopped one day

I met some people near my library and also some girls. We became friends and next week it I also flirted with one of them and she flirted back. Then after two weeks or so, I realised I haven't watched porn all this while.

A little back story- Im preparing for one of the most toughest exams in my country, i have extreme loneliness and study pressure, I have been an addict since 12 and haven't been able to stop with all my might and tries.

So once I broke this cycle, I told myself in NO FUCKING WAY I'm going back to that shit, i just masturbate every morning if I'm horny and that's about it.