Cause and solution of ED and PE?

Hello Everyone, I am a guy if 24 and is really worried about my sexual health. I used to be a regular masturbator from young age of 14/15. I nearly did it for almost last month. Since my first sex, i had problem in maintaining erection. I cannot have erections most of time while sometimes I have semi erection but in both case i only last under 1 minutes. It was not a regular problem before as it was occassional but now it looks so permanent and I have it everytime. Have anyone experienced the same or suggest some solutions. Really worried :frowning: