Migraines after miscarriage?

Geneva
Lost my little angel almost two weeks ago. I've had horrible migraines for 4 days straight. I've tried ibprofen, Excedrin, tylonal ect and nothing helps. Could this be related to my hormones or something else? Does anyone know any other ways to get rid of migraines? I haven't seen a doctor yet for them either.