pains in legs and upper back of body

Please provide the diet tips to avoid pains. I’m age above 32.