Yes, certain medications such as penicillin, aspirin, and ibuprofen can cause allergies in some people. It is important to inform the healthcare provider about the medications a person is allergic to. They should avoid using them in the future.