Ibuprofen

Can I take ibuprofen? I ran out of Tylenol and the only thing I have is ibuprofen. 39 weeks