Hm, it doesn't occur to me to eat when I'm in physical pain... Eating is more associated with emotions like feeling stressed out, for me.
When I'm in physical pain I use ice packs, rest, pain relievers, etc. I sure hope you feel better soon! Do you have a chiropractor, osteopath, or M.D. you can see?