How to properly ride.

So I was talking to a friend and she said that sometimes you can actually hurt a guy when riding him but a lot of the times they won't tell you. Whenever I ride my boyfriend I try my best but he never cums. Idk if I'm doing it wrong or what! What is the proper motion to riding? How can I actually get him to cum when I ride him!