Ibuprofen while trying??

Mikal
First month Ttc, I have a head ache and need something for it! I know ibuprofen isn't great when you are pregnant, but is it okay if you haven't missed a period yet?? Help ASAP!