Treating moderate to severe pain. It may be used before surgery to sedate the patient and reduce fear. It might likewise be used for different conditions as controlled by your primary care physician. Roxicodone is a narcotic pain reliever. It works in the brain and nervous system to reduce pain.