knee cap dislocation is a complicated topic with no one clear treatment or answer. it can happen for a plethora of reasons. who told you why it dislocates? did they see an x-ray or other imaging or do extensive testing to figure out why? honestly, this problem can be effected by foot/ankle alignment, knee alignment, hip flexibility/strength, and a variety of other sources. no one can tell you what to do without a thorough and appropriate evaluation. and, at that, many professionals may not be able to do so. in some cases surgical correction is the only way to fix a knee cap dislocation but surgical techniques are extremely varies and not guaranteed to work. find a good physio.