If medications are not successful in controlling the pain, the doctor may suggest surgery.