Baby not peeing all day

My baby (9month) is sick and hasn't peed all day today has pooped 3 times. Should I go to the ER? Everything I looked up says it's okay but I wanted other opinions planning on calling the nurses line too.