You and your doctor may consider knee replacement surgery if you have a stiff, painful knee that makes it difficult to perform even the simplest of activities, and other treatments are no longer working. This surgery is generally reserved for people over age 50 who have severe osteoarthritis.