Damn headaches

Just want these damn headaches & migraines to go away. I recently changed drs & when I explained how frequent my headaches are (every other day to every couple of days) but they are bad when they hit, so they told me to take 2 regular strength Tylenol tablets every 8 hrs or so. Recently, the headaches have been every day, so I take 2 tablets of Tylenol & I'm good to go. I'm just worried about the Tylenol affecting baby. I've tried the non medication ways to treat the headaches & migraines, and those make them worse.