Couldn’t get it up/ Porn culprit?

I’m a 22 year old male and I was at bars last night when a girl I had sex with last week asked me to come over. When I did it was super chill and very easy going. Foreplay was great and she even gave me the best head I have ever had. When it was time to have sex I put the condom on and she was on top and my dick just wouldn’t stay hard. We kept kissing and I went on top. When I say I barely lasted 1-2 minutes on top… I wasn’t super disappointed but it was whatever. Next morning we do stuff again and I literally cannot stay hard regardless of what position we do. We tried 3 different ones before she resorted to another blowjob which did the trick. She is a super cool chick so there wasn’t any awkwardness but in my head I was like what the fuck. Anyways I think this is because I had a relapse in porn a few weeks ago and my sexual drive is all fucked up and making my dick not stay hard when it really needs to. This right here is my pledge to never view porn ever again because that shit truly does no good for me