You can get IELTS discussion essay samples online as well as in books. There are various IELTS essay materials available online in pdf format or as blogs. You can read them to get an idea of how to write a discussion essay. Nonetheless, you should always prepare from authentic sources and popular websites.