Need help please I am feeling very guilty
17M here so basically I've decided to stop watching p○rn because i didn't want to make my brain dumb anymore. But man because of watching that shitty thing my mind doesn't feel like me anymore, whenever I see a girl, I feel like a b¡tch because even if I don't want to, my eyes roll onto their privates and I don't want that to happen but it's not in my control, I feel TRAPPED in don't know what to do. Today when I met my good friend for the first time irl after chatting online, my eyes rolled there and I was trying to control it so hard, eventually I did but just even for once that feeling made me regret myself, what have I done? Have I become a jerk myself? I don't want to become one i don't want my friend to think that I am bad, I don't want this to happen again, I feel so miserable I don't want to but I can't control it PLEASE HELP HOW DO I CONTROL IT?
I feel like crying because of my disgustful habits that I've grown, I don't want to lose my one good friend whom I talk to alot because of some temporary desires, deep down I don't want all this i don't want all this, I want all this to stop! THE GUILT IS EATING ME RN I can't help with it, she knows that I am a good guy, but just one incident will ruin everything forever.