NSAIDs?

Can you take anti inflammatories during your menstrual cycle when ttc, or should you not take them at all during your period for pain?