Edge for hours (sometimes 5+) and convinced it's affecting my erections

This may see kind of obvious, but yeah. Just wondering if anyone here has any similar experiences. The short of it is, is that I will masturbate and edge myself for significant periods of time until I cum. I’ve kinda always masturbated this way, but as of late I’ve noticed a significant downward trend in my ability to get hard and stay hard.

Anyone have any advice or experience they can relate with?

It’s not even necessarily to porn, usually I’ll be sexting with a girl or multiple girls. So my “porn” consumption is largely text/story based.

I guess you just need to rest your instruments a bit. Our brain can sometimes get depleted on certain hormones from constant secretion. Or get desensitised. The coolidge effect

In the same boat. My issue though is I edge to porn and also sexting. Up to about a few years ago Id masturbate to climax within a few minutes. During the last few months I’ve discovered how pleasurable edging is however during any real sexual encounters I’m unable to achieve an erection.