My doctor has recommended surgery for my arthritis. What do I need to do?

What joint? Depends on what joint and what surgery was offered. Generally it's your choice whether you want the surgery or not as these are elective procedures.
Think about it. There usually isn't a rush to perform surgery for arthritic palliation. Get a second opinion, possibly from a rheumatologist.