This change in migraine frequency and severity may be related to your fluctuating estrogen levels at these times.
However, this is controversial due to conflicting evidence.
Several studies have suggested that NSAID use may, on its own, lower breast cancer risk.

aldomurillo / Getty Images
This study found a 17 percent lower risk of developing invasive hormone-receptor-positive cancers.
Another study, this one published inCancer Causes and Controlin 2014, examined over 700 cases of breast cancer.
A Word From Verywell
Remember, a link implies a potential relationship or association.
It doesn’t mean that one medical condition directly causes or prevents another.
As for your own health, stay proactive in your health care.
2017;7:110. doi:10.3389/fonc.2017.00110
Centers for Disease Control and Prevention.Breast cancer risk factors.
Pavlovic JM, Akcali D, Bolay H, Bernstein C, Maleki N.Sex-related influences in migraine.J Neurosci Res.
2016;95(30):e4031.
2018;27(12).