filing for deceased

I married in June 2023 and he passed away in August 2023. He had received disable social security benefit for 7 years and left big amount of medical bill and some debts that I have been taking responsibilities. I paid about $7000 medical bill so far. What is best way to file for him as deceased person and I can get tax deduction for those I had to take care? He did not leave any assets to me but maybe I will get some money from his bank account in next year after six month he passed.