I would be very grateful if someone could help me with this

I just want to learn how to control a servo(hk15298) with a PIC microcontroller. I have a testboard with PIC32MX250F128B, configured RB2 pin for OC, and the timer(so I have configured RPB2R, T2CON and OC4CON). My question is, what to do from now on to make the servo turn?(I`m programming in c)
Thank you very much in advance for any help.