There are quadriceps strengthening exercises for knee issues.
Eat a food rich in collagen like bone broth.
Include some anti inflammatory foods like nuts, seeds
Being physically active helps with prevention of osteoporosis
. If the person is suffering from osteoporosis, then supplements are needed apart from eating foods rich in vitamin d