Listen to the pediatrician. Based on your baby’s health and size, the pediatrician at the hospital will generally be able to help you work out a feeding schedule for them. This is important, especially for first-time parents, as getting the hang of feeding at the right time and in the right way can be a hit and miss process, and with a lot of other things to keep track of it will make a big difference in terms of your quality of life. You can be the most devoted parent in the world, but you will need your own sleep and down time in order to really make it count. This is no criticism, just a fact of life.
As things stand, a baby normally wants to eat fairly regularly, but there are special cases that can make the usual advice a little bit less useful. In these cases, you will have to work to make things tick over in the way you want them to.
For example, you may not be producing milk in quite the way that you would hope. This is not through lack of intent or effort on your part, but because the human body is a complicated organism that often does not do what you want it to. The pediatrician will be worth their weight in gold in this respect.
With your intent and good will, and the advice of experienced individuals, you will become completely au fait with the best way of doing things and, before too long, the regularity which makes any process easier will kick in, so you can get on to the enjoyable aspects of parenting.