Triple stitch the female end of the buckle if necessary. Sew a box stitch to secure the D-ring. Trim any excess fabric for a clean and finished look.