Ensuring that you’re running the latest version of iOS and have the most recent carrier settings can help eliminate software-related activation glitches. You can update iOS through your iPhone's Settings or use iTunes to update both iOS and carrier settings.