You might want to take a look at an old thread:
Help! Problems "rising" to the occasion...
In a nutshell: don't worry, it happens. Just have a good time and use your imagination. When it happens to me, I'm up-front about it, and just go on giving pleasure and receiving it with a smile. If Viagra, Levitra o Cialis works for you, that can also help.