Is it ok here and there?

Julie
Im get pregnancy migraines.
When not pregnant I suffer from migraines and take medication daily. It can't be taken while pregnant.
 I woke up at 3am with a headache and still have it! Tylenol hasn't touched it.
Is it ok to take something stronger like maybe exedrin here and there?