If your Ray-Ban aviators' temples need a bit of adjusting, you can try giving them a gentle bend around the hinge so they sit nice and tight on your face.
If that doesn't work, you can try doing the same using a pair of pliers. You can put the pliers in a towel before working on the temples, so they don't scratch the metal.