Yes, the most common reason for that is performance anxiety, maybe you watched so much porn that you think you must perform like a pornstar.
Maybe you watched too much porn that you don't get aroused when you are having sex as much as seeing someone doing sex.
What I advise you to do first is stop watching porn, with won't hurt even if it is not the cause, and see a urologist and ask for blood exams, just for you to free your mind that you don't have a physical problem. It is important to do blood exams, I don't how are the doctor in your country, but I went in a lot of urologists who just wanted to sell treatment, 3 thousand reais pills, penis spray, they didn't even test me, they just wanted to sell their medicine, and then finally I found one and we made a lot of exams and I didn't have any physical problem that could cause ED, then I went to a sexologist and finally discovered what was happening to me