Thanks for posting your query.
The headache of migraine
resemble so much with each other.
it is worthwhile to avoid medicines so you should get yourself examined by a physician and if there is sinusitis then get it treated before you get pregnant to avoid medications.
If it is migraine then you can take paracetamol
as required for migraine.
Try to get all the current problems before being pregnant.
I hope this answers your query.
In case you have any follow up queries or doubts, you can forward them for me, and I shall be glad to help you.
Please accept my answer in case you do not have further queries.
Wishing you good health.