The main medicines recommended for nerve pain are amitriptyline, duloxetine, gabapentin, and pregabalin.