Do a search for Luxating Patella here on YT ~ lots of us have pups with LP and either live fine with it being a low Grade (1 or 2) and others for Grade 3 or 4 have surgery to stop the luxation. Both can live a normal happy life.
If this is LP in a pup, it is most likely genetic and the parents should not be breeding