If the deceased was receiving Social Security benefits  you must return the benefit received for the month of death and any later months .
ok thank you
what if you are a widow or widower?
If you are the widow or widower of a person who worked long enough under Social Security , you can receive full benefits at full retirement age for survivors or reduced benefits as early as age