Percocet is a prescription medication that contains a combination of oxycodone and acetaminophen. It is used to treat moderate to severe pain and is classified as a narcotic analgesic. Oxycodone works in the brain to change how your body feels and responds to pain, while acetaminophen helps to reduce fever.