Painkillers

You know how for ibuprofen it says not to have more than 6 pills a day, is it really bad if you do bc for the first day of my period I have to take 2 every 4 hours bc the pain is so bad