If you are using WordPress Plugin, then you don't need to do it manually, Just install the WordPress SEO by Yoast plugin, it will automatically create a sitemap file for your blog/site. If you use others CMS or Manually developed CMS, then you can use some third party website to create sitemap file.