When do babies get the hang of breastfeeding?

Instinct. Babies are born with the instinct to breast feed. Even in the womb they have sucking action. Some are born with sucking blisters on their thumbs! moms must learn how to hold their infants in a position that is conducive to the rooting reflex, and to resist the temptation to let baby suck on just the nipple, vs areola. A lacation consultant or pediatrician is invaluable in the early days of brf.
1 weeks. Babies are "hardwired" to breastfeed. That means that they should be able to latch within the first hour after birth. But many variables can affect that. A preemie, or a "late term" infant (35-37 weeks) may need a little extra time. The best way to get a great start is to get the baby to breast within an hour after delivery and ask for help if you need it!
1 weeks. Breastfeeding is the single best act you can do for your baby after giving birth. Breastfeeding though is not easy all the time. Most of the time the mother's milk will "come in" around 3-4 days after birth. Many newborns "get the hang of it" within the first few hours of birth, while some take a day or two. A consultation with a lactation nurse may be needed if it takes more than two days.
1-2 weeks. Breastfeeding is very rewarding, but takes a little work to "get going" well. Both you and your baby are going to be tired, she has to learn to latch and suck properly, and it may take 5 or more days for your milk to "come-in." be patient, work with your doctor and local breast feeding counselor. If you feel the baby isn't feeding well, a visit to the doctor to weigh and examine her is needed.