I did something similar when I broke my ribs. I was prescribed Vicodin and Ibuprofen. I’d only take the minimum amount of Vicodin twice a week, and the other days would use Ibuprofen only. I also made sure I never took more than the minimum required dose two days in a row.