When are pain pump used for pain?

Severe pain. Typically for severe intractable cancer pain or pain from other conditions such as low back pain that is not well controlled by other means.