Machine or hand quilting?
Hand quilting you make a knot and pop it into the batting.
Machine I just end the stitching with a super tiny stitch for 1/4 to 1/2 inch. That is enough to secure the stitching. IN fact, my machine has a quilting stitch that does that automatically. Also, if you can run your line of stitching into the area where the binding will cover it, you can just do a backstitch