When to swaddle ??

This is so confusing to me. My baby is breastfed and usually falls asleep at the breast. When am I supposed to put her in her swaddle/sack without waking her up?