Here are some helpful thoughts on visiting the sick and conducting funerals:
What Are 10 Practical Tools to Hospital Visitation – Practical Shepherding
What Should We Do When We Visit the Sick – Kevin DeYoung
5 Things You Should Never Say or Do at a Funeral – John Pond (Gospel Coalition)