It seems like there is a problem in your eating pattern and added stress
to it. Your eating lifestyle is bizarre, you cannot continue this way for long time.
First, you must eat 3 meals regularly without skipping them. You should not go without eating for a whole day; it is not good for the health. It will affect you in the long run.
Also, you suffer pain when you eat food, that means to say that you may be having a chronic gastric erosion problem.
You may need to get an upper Gastrointestinal Endoscopy
done to rule out any pathological concerns.
Please consult a skilled nutritionist, plan your diet accordingly, and stick to it.
I am sure you will be in perfect health soon.