Elena, I once heard a fellow alcoholic say that there was only one thing she could do perfectly each day and that was to not drink.
So you did do something perfectly today - you stayed clean perfectly.
Maybe speak to your GP about pain management options that aren't opiate-based?