Weaning a baby out of a swaddle

Farah

So I’m trying to wean my baby out of the swaddle but he keeps squirming and scratching his eyes and then wakes himself up. What should I do?