Assuming there is not a service outage in your area (worth verifying before proceding), shut off your phone, remove the SIM, clean the edge connector gold edges with a soft pencil eraser if they appear dirty or tarnished, and then re-insert and power on. Barring a hardware problem or something else you may have done that wasn't mentioned, you should be back in business.