The time varies for how long each of us are on pain pills.
I was on prescription pain pills for 11 days. I didn’t stop them because I didn’t need them, I stopped them because my vision had drastically changed practically overnight at the time of my surgery and we wondered if that had to do with the medication. From then on I took Tylenol and ibuprofen alternately for months. My vision never did return to what it was before surgery.