You are allergic to one of NSAIDs (Non Steroidal Anti Inflammorty Medications) which are one class of pain medicine. Some times, esp.if the drug is given intravenously, the reaction will be severe. Patients get severe breathing problem, they get rash
like burns(Steven Johnson Syndrome
) and blood pressure drops. You have to know the drug name and avoid it. There are alternative medicines.