Worried...

I'm 8 weeks today and every since last friday I stopped eating. Part of it eas because I was having major depression issues and the other part was that i wasn't hungry. It's been almost a week of not eating and I'm scared that I killed my baby😭😭 I eat a little yesterday and I'm trying to eat today. I did puke yesterday morning and today in the morning which this week is the first time it happened. Please help could I have killed my baby