Dynamic Treatment of Pain