breastfeeding

so when breastfeeding is it all on demand or should i continuw to wake my baby up every 2-3 hours to eat and on demand feedings?