Thank you for asking. I can understand the your concern. To establish a condition of Erectile dysfunction, a detailed knowledge about the problem and associated symptoms is required. Risk factors of masturbation, use of pornography, lifestyle associated risk factors, etc needs to be explored in details. Regardung your question of penis size, size of 3.5 to 5.5 inches is normal. Much of myth is associated related to the size of penis that needs to be corrected.
Next Steps
Considering the need for details about the problem, I would suggest you to consult with a sexologist for further management and detailed instructions. You can ask a detailed query here on practo.
Health Tips
It is treatable.