Depending on what it is as in how many stitches involved.
For a belt I would pick up the stitches, melt the ends on the back side and continue stitching starting in pre stitched holes once I fixed the problem.
For smaller items I'll use the machine needle as a awl to keep the holes the same and then hand stitch.