Sorry to hear that you need a hip replacement. However, it is not the end of the world. In the past two years my wife has gone through total hip replacement on both hips with amazing results. One of her hips had deteriorated to the point of bone on bone contact and constant pain and the other was deformed from a congenital problem. At the time of her first replacement she was 57 years old.
Now a couple of thoughts from a care givers perspective.
1) Foremost!!! Find a doctor who uses the most up-to-date, state of the art procedures and prosthetics. We have a friend who went through the same surgery at the same time as my wife and he is frequently having his hip dislocate causing a great deal of pain. My wife has never experienced even a hint of problem with her new hips.
2) The titanium/ceramic hips that were used in my wife have a life expectancy of 35 +/- years. Therefore, she will most likely never have to have the procedure done again!
3) After surgery get as active as your doctor allows as quickly as possible. Walk, walk, walk -- with a walker, then a cane, and finally on your own. The more you use it the faster you will heal (don't use it and you will lose it). Within six weeks of each surgery my wife was pretty much back to full activity with some obvious exceptions -- no tennis and basketball, etc.
This surgery has revolutionized her life and she is functioning like someone 10 years younger than her age. She is doing things now that she was unable to do for years, like ride on the back of my LT.
So, with the right doctor and the right attitude, this should be a life improving experience.