There is no single food that can treat pain. But a healthful diet is an important part of your pain-management strategy. The Mediterranean diet, for example, is rich in fruits and vegetables, whole grains, and healthful unsaturated fats. These edibles can help build strong bones and muscles, and -- in some cases -- can even short-circuit pain. A wholesome diet also helps prevent pain-aggravating weight gain and boosts your energy levels and mood so you can cope more comfortably.