Erectile Dysfunction or Performance Anxiety?

So this guy I've been dating and I finally decided to take it to the next step yesterday and have sex... I was really pleasantly surprised with his size and everything and after making out a lot he was really hard.. I gave him head and he seemed to be really enjoying it. The second he reached for the condom though he went soft.. This happened the night before when we were just fooling around and he said it was never an issue before. so since it seemed to be performance anxiety (from what he was saying) I got clever and made him really hard and got on top and slowly started rubbing his dick on my vagina until I "accidentally" slid it in. he was so happy I did that and we proceeded to have really good sex until he slipped out and immediately got soft. then we waited a bit and he wanted to try again and he was on top. I guess being on top was a lot of work for him and halfway went through he went soft inside of me which felt really odd and confusing.. I've never been through this before and I want to be supportive of him but I'm also worried. He says he's been having a lot of anxiety lately and maybe that is the reason he keeps losing his erection? I just wish I would know if this is going to be persistent or if it's a learning curve. not that it matters, I'm interested in him no matter what, but I would like to know if I can help at all. has anyone else dealt with this??