This depends on the child and the situation. Explain what a funeral is and give them a choice to attend. Prepare them for what to expect if they choose to go.