First of all, I can’t imagine how you paid taxes on the gain on your house. Married couples can exclude $500,000 of gains from their taxes when they sell their primary residence!! Did you buy so long ago that you had a gain much larger than that exclusion??
If not, your accountant can be held liable for terrible tax advice!
And it’s not your Social Security that gets adjusted for higher income; it’s your MEDICARE premium, which of course is deducted from your SS check. And that will last for two years, until it gets adjusted downward based on your regular income.
Please write back and let me know about that gain, though. If it was under $500k, then you’ll need to file an amended return and contact SS to let them know.