From description, it seems soft tissue injury
or ligament injury
at the hip joint. This is an important joint and the healing is really bad if prompt opinion not taken from the expert. You may need important investigations like Xray and MRI
of the joint.
I suggest you to consult an orthopaedician nearby for a detailed examination.
Meanwhile I advice you but do not rely on these home care
treatment without specialist's consult:
Hot fometation to the affected area.
Avoid putting weight and rest well.
You can take nonsteroidal anti-inflammatory drugs (NSAIDs) to reduce inflammation and pain under supervision of your treating doctor.
I do hope that you have found something helpful and I will be glad to answer any further query.