It all depends on what quilting pattern you are using. If you are using a large meander you can attach the yo-yos first and quilt around them. If you are doing a grid and will have quilting under the area where the yo-yos go, then you should quilt first. I would hand stitch them because machine stitch will show on the back and may take away from your quilting design.