doctors can treat patients for pain