A method for potentiating the analgesic effect of an opioid or opiate in a patient while also decreasing the dependency of the patient induced thereby when said opioid or opiate is administered in the prevention or treatment of pain that is a consequence of surgery, wherein said opioid or opiate is selected from the group consisting of morphine or a structural derivative thereof, tramadol, sufentanil, remifentanil, fentanyl, tapentadol, oxycodone, and buprenorphine, which comprises administering to the patient a therapeutically effective amount of 4-{2-[5-methyl-1-(naphthalen-2-yl)-1H-pyrazol-3-yloxy]ethyl}morpholine or a pharmaceutically acceptable salt, isomer or solvate thereof.