Bonesmart offers "One Step" program that deals with walking/gait.
You have several very good suggestions here, none of us know when your knee will stop hurting.
If you are very worried I'd go to your doctor and have X-Ray or call OS.
There are many reasons why knees hurt after surgery, yours is your own just like mine was my own. We are all a little different.
Just like how long recovery will take, it's different for each of us.
The community here gives suggestions and experiences, we are not doctors just everyday people that had THR's and deal with different recovery times.
You keep asking the same question, we do not have the answer why your knee hurts, we have told you most likely its trauma from surgery, maybe not, but this is our experience. Also to ice and elevate, maybe use heat, I suggested a knee compression sleeve to help, maybe none of these will work for you.
We want to help you but you need to answer your own question. If you have tried all we have suggested and still anxious please call your doctor.
Take care and try to relax. It seems after your surgery you received little to no guidance on your recovery??? Again, I don't know this for sure. I'm really trying to help you but same question over and over and we have given you the suggestions that worked for many of us.
I hope you find relief at some point.