Like all other painkillers, Percocet is also used to treat a range of moderate to moderately severe pain. This medication can be used when other non-prescription drugs are not enough. In addition, this medication can also be used for the management of opioid withdrawal symptoms.