Using a paper clip, thumbtack, or a push pin. For those who don't have a SIM tray ejector on hand, the humble paper clip is one of the best alternatives. Just bend one of its ends and you're good to go! But make sure you use a paper clip thin enough to fit into the tray's hole.