Was she understanding about the problem?
Did she get weirded out by it?
Sounds like performance anxiety. It will pass. You just have to get comfortable with her. If you can get erections and orgasm with no problem through maturbation, its all mental. Just relax and try to enjoy it.
Some girls will assume its them. Their not good enough and thats far from the truth. If she is understanding about it, you can work together.
I learned my lesson in banging girls I worked with. I try not to when I can. It does make it uncomfortable and akward. Good luck.