You can't really. At least not in any meaningful way, that is, in a way that will make them last. I work in optical retail and get that question asked twice a day. Glue will not hold and might damage the lenses. Some stores might offer to repair them using a stapler type clip, but again, it doesn't last. Time for new glasses.