Too much ibuprofen ?

I’ve had five tablets and my migraine is still killing me. Anyone know how much I can take? I try to leave two or three hours between 2 tablets. I took the last one about 40 minutes ago.