One of my workmates died recently in their early 30's.
The company sent out a condolence email, within 3 days the position was empty and advertised, within a week or so it was filled.
Take some time off if you can, spend it with friends and family.
Work is not #1.
Don't feel bad about being sick or taking leave.