Not the correct answer, but not an uncommon response.
We all go through this stage, remember to talk to yourself and remind yourself that getting upset will not solve any problems. People will look to you for comfort, so start directing them to call for help (911), ask someone to find out if anyone knows CPR, ask someone to find out if an AED is available.
This will give you time to gather your thoughts and approach the patient. Don't waste time, but a few seconds to clear your head will always benefit everyone.