If you legally change your name because of marriage, divorce, court order or any other reason, you must tell Social Security so you can get a corrected card. You cannot apply for a card online. There is no charge for a Social Security card.