Climax without penetration

I’ve improved a lot my libido and being able to get hard and stay for a while. But now with my partner, if she touches or rubs my dick in her pussy I’m almost cumming. So, I am not even trying to put in. I have no idea right now how to solve this.