M.P.
Call the advice nurse at the hospital right away. She can help you decide if he's dehydrated and in need of an IV. Do this right now!
If he's been eating and drinking then the reason for not peeing is probably more serious. Take him immediately to the ER.
Dehydration is also serious but it's easily treated with IV fluids.