Oxycodone is a prescription opioid used to treat certain cases of moderate to severe pain when determined appropriate by a qualified healthcare professional. Because it carries risks including dependence, misuse, overdose, and serious side effects, it should be taken only exactly as prescribed and obtained through a licensed pharmacy. Speak with your healthcare provider about whether oxycodone is appropriate for your condition and about safer or alternative pain-management options.