You do not provide enough details. What do you mean by the "mortgage company wrote it off." When was this? Why? Did you get a 1099c? Who is pursuing you now if so?
Depends on your circumstances, but your options are: (1) file bankruptcy; (2) try to defend in litigation if you have valid defenses; or (3) try to settle this or work out some arrangement depending on what is owed.