The doc said to eat alot of fruit, heathly food. but when i eat fruit i throw it up, is it the acid??

When i was sick all the time food just made me sick, now if i dont eat i get sick but still food doesnt look good at all to me..is that normal?