Crazy Question

If your pregnant and hungry but just ate a few hours ago will that hurt the baby if you don't eat? And I've ate all day long