If it’s really bad, you may need something stronger like codeine, as well.
I’m lucky, and have these on repeat prescription anyway, so I don’t have to get in touch with anyone specially, every time it happens.
I’ve got ibuprofen, paracetamol and codeine all on repeat. Although I don’t routinely take all of them (the whole point was to be able to mix it up a bit, so I’m not on one thing continuously), I do take all to the maximum allowed when I’ve done my back.
Of course, this means I need the repeats sooner than usual, so I usually just add a note for the doctor: “Don’t worry - I’ve not suddenly become addicted - I’ve just done my back again!”
She knows this happens to me from time to time, and that I’ll get through painkillers at a much faster rate until it heals.