can not maintaining an erection at age 28
so im 28 male and have a porn addiction. i regularly masturbate and watch porn daily sometimes 2 times a day. 3-4 years ago suddenly i lost my ability to maintain erection while at sex and masturbating. it lasted for like 2-3 weeks and i kept masturbating during that time. after 2-3 weeks i stopped watching porn and masturbation and it fixed like in 2-3 days. now 4 years later when i was having sex with my gf i suddenly lost my erection. it lasted for like 2-3 weeks again and i quit porn and masturbation again and it fixed after 3-4 days quitting porn. that was like 3 weeks ago and now it came back. and it worried me a lot to comeback again after a very short time. now i cannot get morning wood, no random erections. i can get erection if i try but its like 70% power and it goes quickly after i stopped giving stimulation. i will go to a urologist but im kind a worried. any ideas about the subject ?