Depends on location
Pain in the "hip" can have many causes.
The location and type of pain (sharp, achy, dull) as well as knowing what make it better or worse can help sort it out . In general , pain in the buttock comes form the lower back, pain on the side from the bursa or iliotibial tendon and pain in the groin and anterior thigh comes from the hip joint itself. This is a general guideline.