I'm really sorry you're feeling this way. Has anything set this off? I'd speak to someone you trust in person (of at all possible) and do this as soon as you can, because it sounds like the beginning of an eating disorder, or at the very least disordered eating. If you feel able to it might be worth speaking to your GP too, particularly if you have other mental health concerns so they can support you and prevent this from worsening.