1. Restart the phone.
2. Remove the SIM, check for damage, clean the gold contacts with a dry cloth, and reinsert it the right way round.
3. Try the SIM in another phone, and another SIM in this phone, to find which one is faulty.
4. Check the IMEI: dial *#06#. If it's blank or 0, the network data is damaged (common after bad flashing). Bring it in.
5. Network selection: Settings, then Mobile network, then Network operators, then Automatic.
6. If the SIM is old or damaged, your network's service centre can replace it with the same number.
7. Phone dropped or wet? The SIM tray connector on the board may need repair.