question: how do you ride dick ?

So when I just started having sex my bf would always be on top. Then recently we we tried car sex and he told me to get on top cause it'd be easier. I was nervous cause I didn't want to look ridiculous it felt good but I feel like I could have done it better. Can someone give me some advice. Like is it and up n down or a grinding thing like what do I do.