Do your APN settings say AT&T? Where did the SIM card come from?
If you can't change the setting, you may need to replace the SIM card at an AT&T store. There should be no charge for a new SIM card.
If you can't change the setting, you may need to replace the SIM card at an AT&T store. There should be no charge for a new SIM card.