Are there dangers in taking both a muscle relaxer and painkiller?

A fellow caregiver asked...

Are there any dangers to raking both a flexeril (stamped 10) and a percocet (not sure on mg)?