Percocet is one of the most commonly prescribed drugs for treating moderate to severe pain. It is a combination of the opioid narcotic oxycodone and acetaminophen, an over-the-counter pain reliever. Percocet is a powerful opioid drug, and it is important to use it with caution and only as prescribed.