Need to know cause. We need to know the cause of the pain prior to discussing treatments or cures. Muscular causes can be treated with stretching and strengthening of the muscle sof the hip joint.
Depends on the -- Diagnosis. See your orthopedist to get properly investigated and diagnosed. Only then you can be treated.