Trying to conceive with migraines

My husband and I have been trying to conceive now for a while. I get bad migraines around my menstral cycle and have to take a strong medication for it. Does anyone think that could be why I am not getting pregant? The medication is naratriptan 2.5 mg