So my knee pops out of place all of the time because the track in my knee is messed up and the best thing for it is to stretch it out when you can and get a knee brace from cvs because they are cheap but work very well. For stretches do ones that focus on hamstrings and make sure you stretch it out before any physical activity to prevent it popping out again. Hope this helped and feel better!