Sorry to hear about that.
Ask your GP about Triptan medications. They will likely start you on Sumatriptan although I found that did not work fast enough and am not on Rizatriptan wafers.
You may have these already and just decided not to take them on a possible onset. They are not painkillers, rather they work by sorting the spasm / blood flow issues that are believed to cause migraines. You take them when you feel it coming on, otherwise the dont do