A visible knee patch
Turn the garment inside out and look at the wear. If the thin area is larger than you thought, cut the patch to that size plus a margin. Fuse or tack a light interfacing behind a very thin knee only if a test says the glue will wash. Sew the edge twice, or once with a close zigzag, and then a line of running stitch across the middle if the patch needs to stay put when the knee bends. Check the bend. A patch that looks flat on the table can pull when the leg bends.
Denim wants a jeans needle and a longer stitch. A fine needle will break on two layers of denim.
The ordinary patching page is the same idea on a smaller hole.