The IRS won't accept your e-filed return unless you can provide your spouse's Social Security number.
Here are a few places that you can look to find their SSN:
- Tax returns you filed in past years
- Financial forms or bank statements
- Employment records like pay stubs or benefit forms