I recommend melting/burning the ends, if the cord is nylon. If it is something other than nylon, glue it with carpenters glue. Carpenters glue is similar to Elmer's White glue and dries clear, but it's also waterproof and should hold up to washing. You could also just tie a single knot near the end and let it unravel to the knot for a more tassle like look.