I had to do this for my Dad. I spoke to a few people and basically came up with a potted history of his life. I threw in a couple of amusing tales too. I thought I wouldn’t be able to go through with it but on the day I felt remarkably calm. Having the eulogy to concentrate on kind of helped me hold it together somehow. Speak to family and friends to get some help. And, good luck.