Many medications can cause adverse side effects, and certain medicines can trigger allergic reactions. In an allergic reaction, the immune system mistakenly responds to a drug by creating an immune response against it. The immune system recognizes the drug as a foreign substance and the body produces certain chemicals, such as large amounts of histamine, in an attempt to expel the drug from the body.