Opiates have their place, but care is quite warranted. I had an issue that has caused me some grief a couple years back. In the Bay Area, opioids were prescribed. Honestly, they were the only thing that worked, and I have no problem taking as needed - there is no other effect beyond pain relief for me.
I split time between the bay and remote north eastern (rural) ca. Up there, a friend had a similar issue, the hospital said take Advil/tylenol and tough it out. He spent most of a week in the shower suffering. Said county had previously been investigated for more prescriptions than people in the county.
When I have an episode, I try Tylenol/advil and that usually works. Sometime a bit more is necessary.
My pain threshold is incredibly high, so that plus no mental effect may be why they are a last resort, but not something I worry about.