Riding him?!?

How do I get him off while I’m on top... I always get tired. Do I need to go up and down or back and forth? I feel so stupid asking this question!