Please help

I stopped eating lunch, then stopped breakfast. I ate dinner most of the time but I started dropping in weight. I wasn’t the healthiest before I dropped weight so I liked that I was getting smaller. But then when summer hit I started eating again. Now I feel like I don’t deserve to eat and I’m not letting myself eat. What do I do?