I don't know about "lasts for hours erection", which sounds rather extreme, but my take is: yes, you can recover from your over-masturbation and use of porn. Whether you taper off or give it up cold turkey, in time you should recover. Get back into dating, but break in easy with the intimate relations, letting things progress in a natural way, without having the pressure to suddenly perform. Come back to this forum for further support.