In a situation like yours, it's typically recommended that the joint causing the most symptoms be replaced first. If symptoms are similar, then it's usually best for the hip replacement to be done first. You'll need to allow about six weeks for recovery and rehabilitation after your hip replacement. Depending on your individual circumstances, you should be able to move forward with the knee replacement procedure any time after that.
Source: Chicago Tribune