Actually, it is no matter whether it is a close person, your friend or relative, the pain is the same. I know that it is really hard to come up with it and death shock can be really high. In this case I suggest to refer a professional psychologist and https://myallamericanhospice.com/shock-death/ can be a good article, where you can read more about it and how to behave yourself on funeral.