Compounding for pain