How To Connect My Skullcandy Headphones

I had a problem with my headphones where to red lights where flashing and my device would not connect to my phone.Infact my phone couldnt see he headphones at all.I pressed the and - at the same time a blue light started flashing very quickly.I restarted the headphones and it started to work.