Don't you hate when this happens! Well here are some tips to not let that happen (:
Fold your headphones in half
And keep folding in half until they look like this
Then take your small hair tie and wrap it around and your done
THAT'S IT HOPE THAT HELPS (: