How old are you? How do you make yourself throw up? if ANYTHING AT ALL (and remember this is not a solution), it would be best not to eat period rather than eat and throw up later.
my advice to you is just start eating healthier. you will lose more weight by eating healthy than by not eating at all