What is total hip replacement for dogs and cats?

How to care for your dog after total hip replacement surgery?