The primary treatment for an ibuprofen allergy is avoidance of the drug. Your doctor may recommend alternative medications to manage your condition. In cases of severe reactions, emergency treatment, including epinephrine and hospitalization, may be required.