Getting an SSN. If you (or your spouse, if filing a joint return) don't have an SSN, you can apply for one by filing Form SS-5, Application for a Social Security Card, with the SSA. You can get Form SS-5 online at www.socialsecurity.gov, from your local SSA of-fice, or by calling the SSA at 1-800-772-1213.