Pumping☝🏼️☝🏼☝🏼

What happens when you pump while pregnant and have you done it? My boobs hurt so bad. What happens if you just let the milk out...I'm 38 weeks and 5 days