Hi, i can understand the distress you are through. Scientific research confirms that penis cannot shrink. Yes, the the flaccid state size varies with temperature and other things, but penis cannot shrink in size. It is often the misinterpretation of the patient. Erectile dysfunction can be secondary to stress. I would suggest you to meet with a psychiatrist for further evaluation and treatment.
Next Steps
For more information regarding this problem you can ask a detailed query here on practo.