Cant cum or climax during sex?

Lorraine
I cant cum or climax when i have vaginal sex... But i can when i masturebate (i just rub) so... Do i need to rub while having sex or is somthing wrong ?