The best option is to use a fine-tipped pen to write on the cards (fineliner). Good options include Sharpie permanent markers or Staedler's permanent Lumocolor markers. It's important to let the ink dry after writing down the names. You can also use a good ballpoint pen, but it may require a bit more pressure.
Made a mistake? It happens to the best of us! Take a look at this article.