Attach the patch beyond the worn threads

Cut the patch with rounded corners and pin it to the inside of the leg. Use hand sewing thread and a sharp needle that passes through the layers without forcing it. Work around the edge of the patch with small stitches that catch both layers. Reach inside regularly to check that the needle has caught only the patch and the front of the leg.

Hold the surface threads in place

Turn the leg right side out and add a few rows of small running stitches over the worn area where the original fabric still covers the patch. Draw the thread through gently so the layers bend easily. Fasten on the inside and check the patch while bending the knee or sitting.