Ibuprofen and early pregnancy

I took ibuprofen 3 times on separate occasions because I was in pain and thought my period was about to start. This was last week. My period still isn't here. I haven't done a test yet but could this affect my baby if I was pregnant?