Haven't eaten much for a while, how do I get back on track?

Hello! Due to a challenging situation (breakup, etc.), I've barely eaten for about a week, and two weeks ago, I ate very little. [Psychological stress always takes its toll on my body/immune system/appetite/…] I'd also be interested to know exactly what this does to my body (I know it's not good, but it would be…