Feeding question!

If your baby falls asleep immediately after breastfeeding (like fall asleep still on the boob), do you wake him/her up to burp or just let them sleep? I ask because sometimes my child likes to fight sleep and I hate waking her if she has just gone to sleep! But I also don’t want her to have a gas issue and/or spit up.