See our article on removing your iPhone's SIM card to learn how open the SIM card tray. If you still own an even older iPhone, you'll find the serial number engraved on the back of the phone.