Sex erection Problem

Patient: Hello, I am 28 years old, and a virgin. I got married last week and we have tried to have sex several times and only twice in all of those attempts i even got in her. As soon as we start to have sex after foreplay i get soft again. It has been extremely frustrating. What is wrong?Thanks for looking at my question