Ibuprofen

Can I take ibuprofen in the second trimester? Tylenol does not work at all for me. Why do some people say it’s a bad thing to take it?