Like someone else said above...talk to someone who can help you. It sounds like you had a panic or anxiety attack with maybe some other shit that a doctor can better help you with. Whatever you do, don't ignore it.

Good luck.