If these medications, used alone or in combination, fail to reduce pain or are not tolerated by the patient because of their side effects, an operation may be needed.