Your information regarding this is not sufficient. In x-ray you have Avascular necrosis of hip joint. In which head of thigh bone is going to damage because of hampered blood supply. It happened due to not clear cut condition but cause is known like chronic alcoholism, long term pain killer taking, post trauma etc .
Next Steps
For further information you can consult online or reach clinic.