This oxycodone 10 mg medication is used to relieve moderate to severe pain. Oxycodone belongs to a class of drugs known as opioid analgesics. It works in the brain to change the way your body feels and reacts to pain. This oxycodone 10 mg medication is used to relieve moderate to severe pain. Oxycodone belongs to a class of drugs known as opioid analgesics. It works in the brain to change the way your body feels and reacts to pain.