Percocet is a pain reliever that belongs to the opioid medication class. While some are produced artificially, like heroin or morphine, others, like hydrocodone and oxycodone, are created in a laboratory. However, patients who are in pain, whether after
a cesarean section or a broken bone, are frequently prescribed Percocet. The amount of time that elapses between taking an opioid and feeling its effects varies. The opioid in Percocet, oxycodone, has a quick onset of action.