I agree with broadwaydreaming. It's okay, this is something new and scary to you, and it caused a bad reaction. You don't have to jump in straight away into things that can cause you to have anxiety attacks, you can take your time. If you want to continue with this, then you can; just take it slow and don't push yourself too hard.
Think of it like this: when athletes gets badly injured, they don't just jump straight into a competition. They rest and get proper treatment, and ease back into it so they don't hurt themselves further. Don't be mad at yourself if you throw yourself into social situations and end up with anxiety attacks. It's okay to ease into it.
If you want to continue with it, learn how to calm yourself down from an anxiety attack. They can take a while, up to forty-five minutes, and are mentally draining. Like kxli said, breathe in for 4 seconds, hold for 7, and exhale for 8. Accept that you're having an anxiety attack. Tell yourself "STOP" every time you find yourself thinking bad thoughts. I would advise you to put comforting things on your phone, like calming pictures or music, to distract you.
Let me know if you need anything else, okay? We're all here to help. Cheers!