The most common approach to osteoarthritis/arthritis of the hip is to passively watch and wait until the pain is bad enough, then replace the joint. There is no question that in a percentage of cases of hip arthritis this is essentially what is needed. It is worth knowing however, there are countless millions of people alive today with arthritic hips will never require surgery. It is a little known fact that the majority of hips with arthritic changes will essentially live a long and happy (if slightly stiff) life without surgery.
A wise approach on learning that you have osteoarthritis of your hip at any age, is to take very very good & proactive care of that hip and all the other parts of your body that hip relies on. A purposeful daily regime of strength and balance exercises for your feet, knees and hips plus regular stretching sessions, and insoles for your shoes (if you need them) would be a great start. Many people also report great improvements in the ‘wellbeing’ of their hips with correct nutritional support also.
Do absolutely everything within your power to strengthen, mobilise, support and care for your hips (under the guidance of someone who can show you what specific measures you require). Then if you still find your quality of life so poor that a hip operation seems inviting then maybe it is what you need.