birth control and breastfeeding

Ca
I don't know if this is a dumb question or not but can you be on the pill while exclusively bf? I plan on talking with my doctor but I'm just curious cause I've heard it messing with the milk supply