Loses erection

Savannah • I`m 18 years old trying for my first! Taken by my wonderful man
I'm not saying anything bad about my boyfriend. I will give him oral, & of course he gets hard. When he gets inside or when I get on top, he loses the erection. It doesn't happen all the time, but it is more frequent. What should I do?