How is a wobbly or unstable kneecap treated?

How is a wobbly or unstable kneecap treated?