I think if the pill is prescribed to be taken with other medications then you’ll be fine. Ibuprofen can be taken with a ton of different medicines, it typically just depends on dosage. A typical ibuprofen pill is 200mg, and max to take at once would be 4 pills. If you’re just taking 1 ibuprofen then taking other medicines with it isn’t dangerous.