You may need some stretching and postural retraining. I am unable to advice your precise need as i am not seeing your sitting posture in which you get this pain.
Next Steps
Kindly approach a physiotherapist who will be able to observe and able to guide you to correct your sitting posture
Health Tips
You may try using a ring pillow you can get from surgicals stores