There are a number of nutrients that can help repair and maintain nerves, with omega 3 fatty acids being particularly beneficial, and a common sources of these fatty acids is fish, such as mackerel, tuna, and wild salmon, as noted by WebMD. A number of seeds and nuts also contain omega 3, including walnuts and sunflower seeds.
Vitamin B, especially B6 and B12, can also help the nervous system by helping regeneration of blood vessels. B6 and B12, along with folic acids, are commonly found in fresh fruits and vegetables (especially leafy greens like spinach). Beetroot, lentils, broccoli, and asparagus are all good examples of foods high in vitamins B6 and B12 and folic acid.
Drinking lots of water, and reducing or limiting the intake of caffeinated drinks is helpful to nerve health. Excessive caffeine intake can increase dehydration, which can not only cause damage to nerve endings, it can also impact memory, causing confusion in more serious cases.
In addition to a balanced, healthy diet, regular exercise can help to protect and strengthen the body and nerves. Alcohol and illegal drugs can have a severe impact on nerve function, often causing long term problems if consumption is regular. Smoking can also lead to long term impacts on the nervous system.