Penis getting soft while having sex

Patient: Hi,I’m 25 years old. My penis is getting soft while trying to insert into my wife’s vagina. Could you please advice me what would be the problem and possible solution for this. I don’t drink or smoke….

Doctor: