ftm question- breastfeeding

So hehospital told me baby eats every 3 hours. but throughout the night if he doesn’t cry or anything do i just keep sleeping or ate alarms to wake up up to feed