Headaches during pregnancy☹️☹️

Genay
HELP ME PLEASE!!!! I have terrible headaches during my pregnancy that don't go away. I've been taking Tylenol for them as my doctor prescribed, but it is not working. My OB/GYN suggested that I add some magnesium supplements to my diet, since that's known to decrease headaches. It's not working!! I'm so depressed about this. Before getting pregnant, I suffered from migraines. 
I don't know what else to do, and I'm at my wits end! 😢😢😢