If you have morning/nocturnal erections you don’t have ED. Agree with what people are saying. Hit the gym, work on your diet, and quit fapping. These are all actions that will naturally boost your T levels.
I also experienced ED in late 20s. Therapy sessions were useless. Cardio, HIIT, weight lifting, squats and legs workouts have helped me. I have tried various off the counter pills, ‘Forta’ worked wonders for me. https://www.gnc.com/mens-vitality/495132.html
Are the two related? Because you can give oral / play with toys and satisfy your partner regardless of ED. And then, weirdly enough, your ED might go away while you're both having fun. Surprising how easy this happens with one's partner sitting on one's face.