Control of chronic pain