Welcome to HCM.
You are certainly having a problem. What you are doing now will put your life to more risk than if you had over eaten.
Have breakfast, lunch and dinner, regularly and drink plenty of water. You may skip short eats between meals without causing harm. Eat green fresh vegetables and fruits.
It would be better if you could consult a psychologist
in school, who could be of immense help.
Wish you all the best.