Newborn diarrhea

My baby is 2 weeks old today and he’s having green diarrhea since lastnight and very cranky. I’m waiting for his doctor to call back but he also cries while eating I’m not sure what to do