Weight Loss and Breastfeeding

Ka

Can I lose weight without losing my milk? Every time I try and calorie count I start losing my supply and I gained 10lbs after giving up. I am getting really depressed. Please help.