What do you do for training? Did it start after you did your exercise routine? If so, you probably tweaked it and it needs some rest. The only way, though, you can tell if you hurt it worse than rest and ice will help is by seeing an orthopedist. Diet has nothing to do with hurting your shoulder.