These are troublesome with the security system. First, try to reset the security system.
30 Minute Re-Learn Procedure
If this happens again, the dealer has sent a TSB (technical service bulletin) out on this problem. Contact your dealer and see if they can do someting under warranty.
Towing it to the dealer might be an option. However, wait a full 10 minutes between each start attempt. This resets the security system (relearns the passlock code). Make sure your battery is fully charged. how mad would you be if you spend 50 bucks on towing and 90 bucks for a dealer to reset the system? Give it a try. Is your security light blinking?
Then the light is blinking, that means that the security system is on. (engaged and not letting the car start). Follow the reset procedures and it starts 90% of the time. However, if it does not start, yes, you have a problem and will have to spend mucho dinero at the dealer.
Follow these directions EXACTLY as stated and you should save you some bucks.
If this soes not work, yes you can test to see if you have spark and fuel. However, if your security light came on and is now blinking, the security system is what's keeping your car from starting and you will not have fuel. Try resetting it. If it does not start, you have a passkey sensor, pcm, bcm, or a wiring problem. Yes, dealer will be required to repair this problem.