I can fantasize making love with my wife, get very aroused and M/O. I can make love with my wife, get very aroused (including an erection), but often can't O. I assume this is a kind of PIED? What do I need to do to recover (enjoy normal relations with my wife)?
Just stop watching porn and masturbating and your body will heal itself. In that time you can have sex with your wife but keep away from porn.
Yes it's a type of Erectile Dysfunction, the technical term is "Delayed Ejaculation" or DE for short. This is the official Reboot Bible: https://www.nofap.com/rebooting/ read it thoroughly. And welcome to the club.