Get your taxes done using TurboTax

if he was not married and Social Security was his only income for those years he has no filing requirement.

if he has a filing requirement you must buy the desktop software for any year prior to 2020. only 2020 is there a free online edition available.