The best way to write endnotes is to visit one of the many preformatting (and free) websites. easybib is one of them. You will need to know what type of endnotes your teacher wants you to do. Are you writing in MLA or APA? You should know so that you can enter that information in to the program. Formatting will be different for books, magazines and websites, so make sure you are specific about where the information came from.