After the hip replacement surgery, it is always recommended by the physical therapist and the orthopedic surgeon to rest for around 3 to 6 months until you're entirely recovered before playing any high-impact sports like tennis.