Back to back migraines

Ashlee
I need some advice. I have had back to back migraines since last Thursday. My OB recommended 500mg magnesium and my neurologist said riboflavin. I've been doing it all and 1000mg of Tylenol every eight hours but they are hitting me back to back. I'm at a loss of what to do. I'm 23 weeks pregnant and can't function with these. What should I do??