Bf to nervous for sex..

I am not a Virgin but my boyfriend is.. we tried having sex last night but he was so nervous he would be erect then get flaccid.. then erect and as soon as he went in me he would get flaccid.. what should I do to make him more comfortable? I want to have sex with this man and he wants to have sex but he is sooo nervous.