Something else to be aware of as far as ibuprofen side effects is that it should *never* be taken by women in late pregnancy. It is known to cause heart defects in newborns that can be very dangerous. Basically, it causes a passage in the hart to close prematurely, which can cause serious problems or even fetal death.
It's not as bad in the first trimester, but I think that doctors still advise you to avoid it. Mine said to stick to Tylenol if I really had to have something. (I think there are prescriptions we could have tried if I had had serious pain for some reason.)
It's category D for the third trimester, so it's not actually X, but that does mean you should never take it without a doctor's order and a doctor better have a darn good reason for prescribing it at that point.