the pill

does taking ibuprofen or midol affect the pill in anyway? like will it throw it off and make it not work or is that a myth