Do you wake baby up to change their diaper?

If they are napping and you smell poo, do you change or wait til they wake up?