Well, hey there, stranger
Do you mean, like electrical cords and such? My method, which I use on microphone cables, instrument cables, darn near everything, is this:
Start with one end of the cable on your right hand. With your left, grab enough cable so that, when you bring it over to your right hand, there's enough to make a loop about a foot across. Now, heres' the trick. As you bring that length of cable over with your left hand, give it a half-twist. Doesn't matter which direction, as long as you're consistent. The half-twist is the key. As you wind up the cable, it will then lie flat and not squirrel or kink up.
As far as securing it, you can use re-usable cable ties, available at the hardware store, velcro ties, available at hardware and music stores, or tie a shoestring to one end of the cable, with lots of loose string left over, then tie up the rolled cable bundle when it's nice and neat.
I also will "save" the last few feet of the cable and just gently go around the bundle with it, wrapping it around it as I go, kind of like you'd see on a wreath made of vines. Keeps it snug and easy to deploy when you need it.
I knew 30 years in the rock 'n' roll bidnez was good for something