I was born with a dislocated hip that was repaired as a baby. We are not sure if my problem hip is the one that was dislocated or not but I'm assuming it is. I developed a labral tear in about 2009, doing yoga, which got worse and worse. I switched from Iyengar to Anusara around that time, which had a heavy emphasis on hip openers. The joint became arthritic and totally deteriorated. I was on crutches for a year and had the hip replaced in Jan. 2011. It never really healed as I believe the joint began to corrode and damage the surrounding tissue soon after the surgery. The joint was recalled by Stryker in the summer of 2012. I didn't find out about it until January or so of 2013 and in April of 2013, I had a revision. The stem was replaced. It's been close to five months now and I am doing yoga again but I have to be very careful and may have to be for some time. But I've pretty much been in near constant pain to some degree or other since 2009.
Your recovery may be totally different from mine. I started doing yoga again a couple months after the most recent surgery, but I use the term "doing yoga" very loosely because, for example, it involved micro movements working towards something that resembled a pose to build strength back in the leg, while maintaining all the movement restrictions. My muscles had atrophied from all that time of inactivity and lack of use. I have had to learn to work within and respect my limits and back off big time so I can finally heal, move beyond this and get my life back.
I am still sore much of the time in the surgical area and use ice and heat a lot and rest as much as I need to. The soreness and fatigue I still experience are my biggest problems at this point. And it is depressing. I have no energy whatsoever right now. Not sure if the fatigue is normal still at this point, but I still do some kind of yoga every day, even if it's one pose and its restorative. A lot of what I do is restorative. I feel like I'm starting over as I've lost so much strength from all the inactivity.
I subscribe to Yogaglo.com and they have all levels and different kinds of classes on there. They offer two free weeks if you want to check it out. You can rebuild a practice but do it slowly and don't do anything that hurts.