Chances are, there's nothing wrong but a little performance anxiety. He thinks that since he couldn't do it once, every time has a chance of having that same outcome. I think every guy hits that roadblock at least once in his sex life.
Try to take his mind off it, and when it happens - keep doing what you're doing, and don't treat it like it's a big deal. Tell him it still felt amazing, and you'll try for it next time. Once he relaxes and realizes you don't think it's something to worry about, he might catch on and follow your cue.
Or, he might be the kind to be reassured by a visit to the doctor (like mentioned above.) For me, I know if someone recommended going to a doctor, I'd feel a lot worse about the situation. But, it's different for everyone, obviously.