Thanks for your query.Based on the facts that you have posted it appears that you have
problem of Premature Ejaculation
rather than erectile dysfunction
You have been indulged in frequent masturbation
since last 6 years and thin your present problem could be due to masturbation.
You had been indulged in masturbation since last 20 years and now facing problems related to sexual activities.
First of all there is myth in a mind of common man that excessive masturbation is the reason of all sexual problems But I would like to state that it has been discussed in scientific forums all over the world and proved scientifically that masturbation does not have any negative effect on any organ or system in the body.All the problems that you are facing now are mind related and due to anxiety.
Following measure will help you to boost up your confidence and getting good erection.and delay ejaculation.
1) Practice regular exercise for 45 minutes followed by meditation
for 1/2 an hour in the morning.
2) Take high protein diet rich in vegetables and fruits and Vitamin A,C,D,E.and Zinc
3)Take anti oxidants like Almonds 5-6 everyday..
4) Avoid alcohol and smoking.
Please discuss your problem with your wife as her co operation ids equally important to solve your problem.
Please consult qualified sexologist
to learn to modify sex techniques like stop and start or Squeeze technique..
Use of drugs like Sildenafil
will help you to get hard erection and delay ejaculation.
Please get the prescription and dosage schedule from your family Physician,