Breastfeeding

How long do babies breastfeed as they get older? For example my baby is 3weeks right now and i breastfeed her about every hour or so.. but what about when she’s 2-6 months do they still eat as often ? it’s a hassle lol