HELP Newborn poops after feeding

What steps do you take to care for newborn?

Change diaper, feed/nurse, burp, sleep REPEAT?

Currently breastfeeding newborn (5 day postpartum) and I get all steps done and baby is ready to sleep but during burping she lets out a fart poop noise!

So then I change her and distract her sleep and kinda have to start over 😩

Is that right? Can’t leave baby with dirty diaper!