Ask a doctor before using this medicine if you are pregnant or breastfeeding. If you are pregnant, you should not take ibuprofen unless your doctor tells you to. Taking an NSAID during the last 20 weeks of pregnancy can cause serious heart or kidney problems in the unborn baby and possible complications with your pregnancy.