You clearly had a heart
attack, and so need appropriate therapy, which may include beta-blockers, ACE-inhibitors, aspirin, clopidogrel, statin therapy, among others.
Anaphylaxis is a clinical diagnosis. It certainly sounds possible that you had an anaphylactic reaction, but I did not evaluate you at that time. An easy way to get at whether or not you are allergic to the antibiotic is to see an allergist for testing.