You don't say your age or details.
If you are under 40 and don't have a serious medical condition, then you have 2 choices for ED
2) Overuse of Internet porn
3) Combo of both
The inability to get a full erection with a real-life sexual partner is called copulatory impotence. Chronic erectile dysfunction is a rare problem for men under 40 - or at least it wasn't until Internet porn arrived. So - have you been consistently using Internet porn? If so, the it might be the cause. Chronic erectile dysfunction is a rare problem for men under 40 - or at least it wasn't until Internet porn arrived.
Over the last 5 years we have seen hundreds of men on our porn recovery forums with ED. Many in their teens and twenties. They stop porn - and limit masturbation - and they slowly recover their libido and erectile health. Most health professionals are unaware of this rapidly developing problem.
If you are a porn user, check out this thread with lots of guys who have porn-induced ED. You can find my first few posts if you want to know more.