Aircraft emergency oxygen: how hard do I pull on the mask?
When they first fall down they'll be too high to reach your head, pulling on them will release a switch to activate the generator and release enough slack in the line to reach down to your chest comfortably (for children).

Some types are suspended by a cord connected to the switch:


(image source: wikipedia)

Then you will just need to pull until the cord disconnects from the ceiling.