Yeah how come when I masterbate I can keep an

Patient: Yeah how come when I masterbate I can keep an erection but during intercourse I kept getting limp? And yes it was my first time having intercourse

Doctor: