Pain prevention and control