Metformin and ibuprofen

I get awful migraines and just re started metformin and I forget if I am able to take Advil or not?